How to fix compile error
[master_qmajkwnjbz]:public_html$ php bin/magento setup:di:compile
Compilation was started.
Repositories code generation... 1/7 [====>-----------------------] 14% 1 sec 60.0 MiBPHP Fatal error: I nterface 'PsrSimpleCacheCacheInterface' not found in /home/427182.cloudwaysapps.com/gravqhssbb/public_h tml/app/code/Magezon/PageBuilder/Model/InstagramCacheManager.php on line 7
Fatal error: Interface 'PsrSimpleCacheCacheInterface' not found in /home/427182.cloudwaysapps.com/gravq hssbb/public_html/app/code/Magezon/PageBuilder/Model/InstagramCacheManager.php on line 7
I got this error https://prnt.sc/udsmpm
[ReflectionException]
Class MagentoCatalogModelProductAuthorization does not exist
[ReflectionException]
Class MagentoCatalogModelProductAuthorization does not exist
3
Answers
How i got
Dont directly run the
setup:di:compile
.Try below commands :
Magezon_PageBuilder module
(/app/code/Magezon/PageBuilder/Model/InstagramCacheManager.php )
required PsrSimpleCacheCacheInterface which is not present or not properly initialized in the system
Disable/delete mentioned modules or fix this dependency