cancel
Showing results for 
Search instead for 
Did you mean: 

Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

SOLVED

Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

When I am in Admin and I go to stores > configuration > catalog > catalog I get the following error.  I am a beginner, so can someone please walk me through fixing this?  Thanks.

 

1 exception(s):
Exception #0 (ReflectionException): Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Exception #0 (ReflectionException): Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist
<pre>#1 Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\Catalog\...') called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54]
#2 Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\Catalog\...') called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:48]
#3 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog\...', array()) called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 Magento\Framework\ObjectManager\ObjectManager->create('Magento\Catalog\...', array()) called at [vendor/magento/module-config/Model/Config/BackendFactory.php:39]
#5 Magento\Config\Model\Config\BackendFactory->create('Magento\Catalog\...') called at [vendor/magento/module-config/Model/Config/Structure/Element/Field.php:227]
#6 Magento\Config\Model\Config\Structure\Element\Field->getBackendModel() called at [generated/code/Magento/Config/Model/Config/Structure/Element/Field/Interceptor.php:141]
#7 Magento\Config\Model\Config\Structure\Element\Field\Interceptor->getBackendModel() called at [vendor/magento/module-config/Block/System/Config/Form.php:424]
#8 Magento\Config\Block\System\Config\Form->getFieldData(&Magento\Config\Model\Config\Structure\Element\Field\Interceptor#0000000049b193c400000000546bb70a#, 'catalog/frontend...') called at [vendor/magento/module-config/Block/System/Config/Form.php:340]
#9 Magento\Config\Block\System\Config\Form->_initElement(&Magento\Config\Model\Config\Structure\Element\Field\Interceptor#0000000049b193c400000000546bb70a#, &Magento\Framework\Data\Form\Element\Fieldset#0000000049b19d6e00000000546bb70a#, 'catalog/frontend...', '', '') called at [vendor/magento/module-config/Block/System/Config/Form.php:316]
#10 Magento\Config\Block\System\Config\Form->initFields(&Magento\Framework\Data\Form\Element\Fieldset#0000000049b19d6e00000000546bb70a#, &Magento\Config\Model\Config\Structure\Element\Group\Interceptor#0000000049b190f100000000546bb70a#, &Magento\Config\Model\Config\Structure\Element\Section#0000000049b190f600000000546bb70a#, '', '') called at [generated/code/Magento/Config/Block/System/Config/Form/Interceptor.php:37]
#11 Magento\Config\Block\System\Config\Form\Interceptor->initFields(&Magento\Framework\Data\Form\Element\Fieldset#0000000049b19d6e00000000546bb70a#, &Magento\Config\Model\Config\Structure\Element\Group\Interceptor#0000000049b190f100000000546bb70a#, &Magento\Config\Model\Config\Structure\Element\Section#0000000049b190f600000000546bb70a#) called at [vendor/magento/module-config/Block/System/Config/Form.php:256]
#12 Magento\Config\Block\System\Config\Form->_initGroup(&Magento\Config\Model\Config\Structure\Element\Group\Interceptor#0000000049b190f100000000546bb70a#, &Magento\Config\Model\Config\Structure\Element\Section#0000000049b190f600000000546bb70a#, &Magento\Framework\Data\Form#0000000049b19d5800000000546bb70a#) called at [vendor/magento/module-config/Block/System/Config/Form.php:202]
#13 Magento\Config\Block\System\Config\Form->initForm() called at [generated/code/Magento/Config/Block/System/Config/Form/Interceptor.php:24]
#14 Magento\Config\Block\System\Config\Form\Interceptor->initForm() called at [vendor/magento/module-config/Block/System/Config/Form.php:542]
#15 Magento\Config\Block\System\Config\Form->_beforeToHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1099]
#16 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#17 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#18 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [generated/code/Magento/Config/Block/System/Config/Form/Interceptor.php:765]
#19 Magento\Config\Block\System\Config\Form\Interceptor->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#20 Magento\Framework\View\Layout->_renderBlock('system\config\fo...') called at [vendor/magento/framework/View/Layout.php:542]
#21 Magento\Framework\View\Layout->renderNonCachedElement('system\config\fo...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#22 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system\config\fo...') called at [vendor/magento/framework/View/Layout.php:497]
#23 Magento\Framework\View\Layout->renderElement('system\config\fo...', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#24 Magento\Framework\View\Layout\Interceptor->renderElement('system\config\fo...', true) called at [vendor/magento/framework/View/Element/AbstractBlock.php:521]
#25 Magento\Framework\View\Element\AbstractBlock->getChildHtml('form', true) called at [generated/code/Magento/Config/Block/System/Config/Edit/Interceptor.php:492]
#26 Magento\Config\Block\System\Config\Edit\Interceptor->getChildHtml('form') called at [vendor/magento/module-config/view/adminhtml/templates/system/config/edit.phtml:26]
#27 include('/home/trigin2/pu...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59]
#28 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Config\Block\System\Config\Edit\Interceptor#0000000049b1903e00000000546bb70a#, '/home/trigin2/pu...', array('csp' => &Magento\Csp\Helper\InlineUtil#0000000049b19e8f00000000546bb70a#)) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#29 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', array(&Magento\Config\Block\System\Config\Edit\Interceptor#0000000049b1903e00000000546bb70a#, '/home/trigin2/pu...', array('csp' => &Magento\Csp\Helper\InlineUtil#0000000049b19e8f00000000546bb70a#))) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#30 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Config\Block\System\Config\Edit\Interceptor#0000000049b1903e00000000546bb70a#, '/home/trigin2/pu...', array()) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#31 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', array(&Magento\Config\Block\System\Config\Edit\Interceptor#0000000049b1903e00000000546bb70a#, '/home/trigin2/pu...', array()), array(array('csp_helper_plugi...'))) called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:26]
#32 Magento\Framework\View\TemplateEngine\Php\Interceptor->render(&Magento\Config\Block\System\Config\Edit\Interceptor#0000000049b1903e00000000546bb70a#, '/home/trigin2/pu...', array()) called at [vendor/magento/framework/View/Element/Template.php:271]
#33 Magento\Framework\View\Element\Template->fetchView('/home/trigin2/pu...') called at [generated/code/Magento/Config/Block/System/Config/Edit/Interceptor.php:258]
#34 Magento\Config\Block\System\Config\Edit\Interceptor->fetchView('/home/trigin2/pu...') called at [vendor/magento/framework/View/Element/Template.php:301]
#35 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/module-backend/Block/Template.php:129]
#36 Magento\Backend\Block\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100]
#37 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104]
#38 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674]
#39 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [generated/code/Magento/Config/Block/System/Config/Edit/Interceptor.php:583]
#40 Magento\Config\Block\System\Config\Edit\Interceptor->toHtml() called at [vendor/magento/framework/View/Layout.php:566]
#41 Magento\Framework\View\Layout->_renderBlock('system.config.ed...') called at [vendor/magento/framework/View/Layout.php:542]
#42 Magento\Framework\View\Layout->renderNonCachedElement('system.config.ed...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#43 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('system.config.ed...') called at [vendor/magento/framework/View/Layout.php:497]
#44 Magento\Framework\View\Layout->renderElement('system.config.ed...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#45 Magento\Framework\View\Layout\Interceptor->renderElement('system.config.ed...', false) called at [vendor/magento/framework/View/Layout.php:594]
#46 Magento\Framework\View\Layout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:544]
#47 Magento\Framework\View\Layout->renderNonCachedElement('content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#48 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:497]
#49 Magento\Framework\View\Layout->renderElement('content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#50 Magento\Framework\View\Layout\Interceptor->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:594]
#51 Magento\Framework\View\Layout->_renderContainer('admin.scope.col....', false) called at [vendor/magento/framework/View/Layout.php:544]
#52 Magento\Framework\View\Layout->renderNonCachedElement('admin.scope.col....') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#53 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('admin.scope.col....') called at [vendor/magento/framework/View/Layout.php:497]
#54 Magento\Framework\View\Layout->renderElement('admin.scope.col....', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#55 Magento\Framework\View\Layout\Interceptor->renderElement('admin.scope.col....', false) called at [vendor/magento/framework/View/Layout.php:594]
#56 Magento\Framework\View\Layout->_renderContainer('main.col', false) called at [vendor/magento/framework/View/Layout.php:544]
#57 Magento\Framework\View\Layout->renderNonCachedElement('main.col') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#58 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.col') called at [vendor/magento/framework/View/Layout.php:497]
#59 Magento\Framework\View\Layout->renderElement('main.col', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#60 Magento\Framework\View\Layout\Interceptor->renderElement('main.col', false) called at [vendor/magento/framework/View/Layout.php:594]
#61 Magento\Framework\View\Layout->_renderContainer('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:544]
#62 Magento\Framework\View\Layout->renderNonCachedElement('page.main.contai...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#63 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.main.contai...') called at [vendor/magento/framework/View/Layout.php:497]
#64 Magento\Framework\View\Layout->renderElement('page.main.contai...', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#65 Magento\Framework\View\Layout\Interceptor->renderElement('page.main.contai...', false) called at [vendor/magento/framework/View/Layout.php:594]
#66 Magento\Framework\View\Layout->_renderContainer('page.content', false) called at [vendor/magento/framework/View/Layout.php:544]
#67 Magento\Framework\View\Layout->renderNonCachedElement('page.content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#68 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.content') called at [vendor/magento/framework/View/Layout.php:497]
#69 Magento\Framework\View\Layout->renderElement('page.content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#70 Magento\Framework\View\Layout\Interceptor->renderElement('page.content', false) called at [vendor/magento/framework/View/Layout.php:594]
#71 Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:544]
#72 Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#73 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') called at [vendor/magento/framework/View/Layout.php:497]
#74 Magento\Framework\View\Layout->renderElement('page.wrapper', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#75 Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:594]
#76 Magento\Framework\View\Layout->_renderContainer('backend.page', false) called at [vendor/magento/framework/View/Layout.php:544]
#77 Magento\Framework\View\Layout->renderNonCachedElement('backend.page') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#78 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('backend.page') called at [vendor/magento/framework/View/Layout.php:497]
#79 Magento\Framework\View\Layout->renderElement('backend.page', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#80 Magento\Framework\View\Layout\Interceptor->renderElement('backend.page', false) called at [vendor/magento/framework/View/Layout.php:594]
#81 Magento\Framework\View\Layout->_renderContainer('root', false) called at [vendor/magento/framework/View/Layout.php:544]
#82 Magento\Framework\View\Layout->renderNonCachedElement('root') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206]
#83 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') called at [vendor/magento/framework/View/Layout.php:497]
#84 Magento\Framework\View\Layout->renderElement('root', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193]
#85 Magento\Framework\View\Layout\Interceptor->renderElement('root') called at [vendor/magento/framework/View/Layout.php:963]
#86 Magento\Framework\View\Layout->getOutput() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:492]
#87 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258]
#88 Magento\Framework\View\Result\Page->render(&Magento\Framework\App\Response\Http\Interceptor#0000000049b1973100000000546bb70a#) called at [vendor/magento/framework/View/Result/Layout.php:171]
#89 Magento\Framework\View\Result\Layout->renderResult(&Magento\Framework\App\Response\Http\Interceptor#0000000049b1973100000000546bb70a#) called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:193]
#90 Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(&Magento\Framework\App\Response\Http\Interceptor#0000000049b1973100000000546bb70a#) called at [vendor/magento/framework/App/Http.php:120]
#91 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#92 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#93 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#0000000049b1972800000000546bb70a#) called at [index.php:39]
</pre>
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Hi @bigbob2 

Error : 

 failed to open stream: Permission denied

Set permission of your folders by using below command:

sudo chmod -R 777 var/ pub/ generated/

If issue resolve, please click on 'Kudos' & Accept as Solution! 

Problem solved? Click Accept as Solution!

View solution in original post

7 REPLIES 7

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Hi @bigbob2,

 

Go to the root folder of your Magento project and run the following commands :

  1. sudo rm -rf var/cache generation/* var/page_cache
  2. sudo php bin/magento setup:upgrade
  3. sudo php bin/magento setup:di:compile
  4. sudo php bin/magento cache:clean
  5. sudo chmod 777 -R var/* generation/*

Hope it will solve your problem.

Problem Solved! Click Kudos & Aceept as Solution. 

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist


@Nishu Jindal wrote:

Hi @bigbob2,

 

Go to the root folder of your Magento project and run the following commands :

  1. sudo rm -rf var/cache generation/* var/page_cache
  2. sudo php bin/magento setup:upgrade
  3. sudo php bin/magento setup:di:compile
  4. sudo php bin/magento cache:clean
  5. sudo chmod 777 -R var/* generation/*

Hope it will solve your problem.

Problem Solved! Click Kudos & Aceept as Solution. 



Thank you for the quick reply.  I tried that and got the following errors:

 

[root@server shop]# sudo rm -rf var/cache generation/* var/page_cache
[root@server shop]# sudo php bin/magento setup:upgrade
Content-type: text/html; charset=UTF-8

bin/magento must be run as a CLI application[root@server shop]# sudo php bin/magento setup:di:compile
Content-type: text/html; charset=UTF-8

bin/magento must be run as a CLI application[root@server shop]# sudo php bin/magento cache:clean
Content-type: text/html; charset=UTF-8

bin/magento must be run as a CLI application[root@server shop]# sudo chmod 777 -R var/* generation/*

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Hi @bigbob2 

 

Please delete generated content by below command:

rm -rf generated/*

Then run compile command again.:

php bin/magento setup:di:compile

It may help you to resolve issue.
If issue resolve, please click on 'Kudos' & Accept as Solution!

Problem solved? Click Accept as Solution!

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Hi @bigbob2 

Type below command, which help you to get current php path :

which php

For me it shows like:

/usr/bin/php -> /etc/alternatives/php

You can run command as below:

/usr/bin/php bin/magento setup:di:compile

If this is not working try this to reinstall the whole package, overwriting the original files:

sudo apt-get install --reinstall php7.1-cli

It may help you to resolve issue.

If issue resolve, please click on 'Kudos' & Accept as Solution!

Problem solved? Click Accept as Solution!

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist


@Bhanu Periwal wrote:

Hi @bigbob2 

 

Please delete generated content by below command:

rm -rf generated/*

Then run compile command again.:

php bin/magento setup:di:compile

It may help you to resolve issue.
If issue resolve, please click on 'Kudos' & Accept as Solution!


Hi Bhanu,

I ran those commands, but now the front end of the site is down:

 

1 exception(s):
Exception #0 (Exception): Warning: file_put_contents(/home/trigin2/public_html/shop/var/cache//mage-tags/mage---015_COMPILED_CONFIG): failed to open stream: Permission denied in /home/trigin2/public_html/shop/vendor/colinmollenhour/cache-backend-file/File.php on line 691

Exception #0 (Exception): Warning: file_put_contents(/home/trigin2/public_html/shop/var/cache//mage-tags/mage---015_COMPILED_CONFIG): failed to open stream: Permission denied in /home/trigin2/public_html/shop/vendor/colinmollenhour/cache-backend-file/File.php on line 691
<pre>#1 file_put_contents('/home/trigin2/pu...', '015_GLOBAL_FRONT...', 10) called at [vendor/colinmollenhour/cache-backend-file/File.php:691]
#2 Cm_Cache_Backend_File->_updateIdsTags(array('015_GLOBAL_FRONT...'), array('015_COMPILED_CON...', '015_MAGE'), 'merge') called at [vendor/colinmollenhour/cache-backend-file/File.php:203]
#3 Cm_Cache_Backend_File->save('a:3:{i:0;a:347:{...', '015_GLOBAL_FRONT...', array('015_COMPILED_CON...', '015_MAGE'), NULL) called at [vendor/magento/zendframework1/library/Zend/Cache/Core.php:390]
#4 Zend_Cache_Core->save('a:3:{i:0;a:347:{...', '015_GLOBAL_FRONT...', array('015_COMPILED_CON...', '015_MAGE'), NULL, 8) called at [vendor/magento/framework/Cache/Core.php:74]
#5 Magento\Framework\Cache\Core->save('a:3:{i:0;a:347:{...', 'GLOBAL|FRONTEND|...', array('015_COMPILED_CON...', '015_MAGE'), NULL) called at [vendor/magento/framework/Cache/Frontend/Adapter/Zend.php:63]
#6 Magento\Framework\Cache\Frontend\Adapter\Zend->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG', 'MAGE'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:75]
#7 Magento\Framework\Cache\Frontend\Decorator\Bare->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG', 'MAGE'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/TagScope.php:52]
#8 Magento\Framework\Cache\Frontend\Decorator\TagScope->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG', 'MAGE'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:75]
#9 Magento\Framework\Cache\Frontend\Decorator\Bare->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:75]
#10 Magento\Framework\Cache\Frontend\Decorator\Bare->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG'), NULL) called at [vendor/magento/framework/App/Cache/Type/AccessProxy.php:85]
#11 Magento\Framework\App\Cache\Type\AccessProxy->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/Bare.php:75]
#12 Magento\Framework\Cache\Frontend\Decorator\Bare->save('a:3:{i:0;a:347:{...', 'global|frontend|...', array('COMPILED_CONFIG'), NULL) called at [vendor/magento/framework/Cache/Frontend/Decorator/TagScope.php:52]
#13 Magento\Framework\Cache\Frontend\Decorator\TagScope->save('a:3:{i:0;a:347:{...', 'global|frontend|...') called at [vendor/magento/framework/Interception/PluginList/PluginList.php:303]
#14 Magento\Framework\Interception\PluginList\PluginList->_loadScopedData() called at [vendor/magento/framework/Interception/PluginList/PluginList.php:266]
#15 Magento\Framework\Interception\PluginList\PluginList->getNext('Magento\Framewor...', 'start') called at [generated/code/Magento/Framework/Session/Generic/Interceptor.php:22]
#16 Magento\Framework\Session\Generic\Interceptor->start() called at [vendor/magento/framework/Session/SessionManager.php:141]
#17 Magento\Framework\Session\SessionManager->__construct(&Magento\Framework\App\Request\Http#000000002be713b50000000072202336#, &Magento\Framework\Session\SidResolver\Proxy#000000002be713210000000072202336#, &Magento\Framework\Session\Config#000000002be717db0000000072202336#, &Magento\Framework\Session\SaveHandler#000000002be717cf0000000072202336#, &Magento\Framework\Session\Validator#000000002be717cc0000000072202336#, &Magento\Framework\Session\Storage#000000002be717cd0000000072202336#, &Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor#000000002be713490000000072202336#, &Magento\Framework\Stdlib\Cookie\CookieMetadataFactory#000000002be713ec0000000072202336#, &Magento\Framework\App\State\Interceptor#000000002be713820000000072202336#, NULL) called at [generated/code/Magento/Framework/Session/Generic/Interceptor.php:14]
#18 Magento\Framework\Session\Generic\Interceptor->__construct(&Magento\Framework\App\Request\Http#000000002be713b50000000072202336#, &Magento\Framework\Session\SidResolver\Proxy#000000002be713210000000072202336#, &Magento\Framework\Session\Config#000000002be717db0000000072202336#, &Magento\Framework\Session\SaveHandler#000000002be717cf0000000072202336#, &Magento\Framework\Session\Validator#000000002be717cc0000000072202336#, &Magento\Framework\Session\Storage#000000002be717cd0000000072202336#, &Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor#000000002be713490000000072202336#, &Magento\Framework\Stdlib\Cookie\CookieMetadataFactory#000000002be713ec0000000072202336#, &Magento\Framework\App\State\Interceptor#000000002be713820000000072202336#, NULL) called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#19 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewor...', array(&Magento\Framework\App\Request\Http#000000002be713b50000000072202336#, &Magento\Framework\Session\SidResolver\Proxy#000000002be713210000000072202336#, &Magento\Framework\Session\Config#000000002be717db0000000072202336#, &Magento\Framework\Session\SaveHandler#000000002be717cf0000000072202336#, &Magento\Framework\Session\Validator#000000002be717cc0000000072202336#, &Magento\Framework\Session\Storage#000000002be717cd0000000072202336#, &Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor#000000002be713490000000072202336#, &Magento\Framework\Stdlib\Cookie\CookieMetadataFactory#000000002be713ec0000000072202336#, &Magento\Framework\App\State\Interceptor#000000002be713820000000072202336#, NULL)) called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#20 Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#21 Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:79]
#22 Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#23 Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:79]
#24 Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#25 Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:79]
#26 Magento\Framework\ObjectManager\Factory\Compiled->create('CsrfRequestValid...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:150]
#27 Magento\Framework\ObjectManager\Factory\Compiled->get('CsrfRequestValid...') called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:125]
#28 Magento\Framework\ObjectManager\Factory\Compiled->parseArray(array('csrf_validator' => array('_i_' => 'CsrfRequestValid...'), 'http_method_vali...' => array('_i_' => 'Magento\Framewor...'))) called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:86]
#29 Magento\Framework\ObjectManager\Factory\Compiled->create('RequestValidator') called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#30 Magento\Framework\ObjectManager\ObjectManager->get('RequestValidator') called at [vendor/magento/framework/App/FrontController.php:71]
#31 Magento\Framework\App\FrontController->__construct(&Magento\Framework\App\RouterList#000000002be7133d0000000072202336#, &Magento\Framework\App\Response\Http\Interceptor#000000002be7134c0000000072202336#, NULL, NULL, NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:14]
#32 Magento\Framework\App\FrontController\Interceptor->__construct(&Magento\Framework\App\RouterList#000000002be7133d0000000072202336#, &Magento\Framework\App\Response\Http\Interceptor#000000002be7134c0000000072202336#, NULL, NULL, NULL) called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#33 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewor...', array(&Magento\Framework\App\RouterList#000000002be7133d0000000072202336#, &Magento\Framework\App\Response\Http\Interceptor#000000002be7134c0000000072202336#, NULL, NULL, NULL)) called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#34 Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewor...') called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#35 Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewor...') called at [vendor/magento/framework/App/Http.php:115]
#36 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#37 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000002be7134e0000000072202336#) called at [index.php:39]
</pre>

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist

Hi @bigbob2 

Error : 

 failed to open stream: Permission denied

Set permission of your folders by using below command:

sudo chmod -R 777 var/ pub/ generated/

If issue resolve, please click on 'Kudos' & Accept as Solution! 

Problem solved? Click Accept as Solution!

Re: Class Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode\Interceptor does not exist


@Bhanu Periwal wrote:

Hi @bigbob2 

Error : 

 failed to open stream: Permission denied

Set permission of your folders by using below command:

sudo chmod -R 777 var/ pub/ generated/

If issue resolve, please click on 'Kudos' & Accept as Solution! 


That solved it, thank you so much!