hi , in admin panel , i am not able to see cms page and static block content when we clicked on it. it shows following error.
a:4:{i:0;s:59:"Class Magento\Variable\Model\Variable\Config does not exist";i:1;s:9543:"#0 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\Definition\Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Cms\\Mod...')
#1 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Cms\\Mod...')
#2 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Cms\\Mod...')
#3 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\Factory\AbstractFactory.php(126): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Ui\\Comp...')
#4 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Ui\\Comp...', NULL, 'wysiwygConfig', 'Magento\\Ui\\Comp...')
#5 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Ui\\Comp...', Array, Array)
#6 C:\wamp64\www\magento2\lib\internal\Magento\Framework\ObjectManager\ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Ui\\Comp...', Array)
#7 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Element\UiComponentFactory.php(212): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Ui\\Comp...', Array)
#8 C:\wamp64\www\magento2\app\code\Magento\Ui\Component\Form\Field.php(83): Magento\Framework\View\Element\UiComponentFactory->create('content', 'wysiwyg', Array)
#9 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Generator\UiComponent.php(148): Magento\Ui\Component\Form\Field->prepare()
#10 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Generator\UiComponent.php(145): Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(Object(Magento\Ui\Component\Form\Field))
#11 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Generator\UiComponent.php(145): Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(Object(Magento\Ui\Component\Form\Fieldset))
#12 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Generator\UiComponent.php(126): Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(Object(Magento\Ui\Component\Form))
#13 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Generator\UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'cms_page_form', Array, Object(Magento\Framework\View\Layout\Interceptor))
#14 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\UiComponent->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#15 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#16 C:\wamp64\www\magento2\var\generation\Magento\Framework\View\Layout\Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#17 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#18 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Page\Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#19 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout\Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#20 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout.php(244): Magento\Framework\View\Layout\Builder->build()
#21 C:\wamp64\www\magento2\lib\internal\Magento\Framework\View\Layout.php(859): Magento\Framework\View\Layout->build()
#22 C:\wamp64\www\magento2\var\generation\Magento\Framework\View\Layout\Interceptor.php(414): Magento\Framework\View\Layout->getBlock('menu')
#23 C:\wamp64\www\magento2\app\code\Magento\Backend\Model\View\Result\Page.php(59): Magento\Framework\View\Layout\Interceptor->getBlock('menu')
#24 C:\wamp64\www\magento2\var\generation\Magento\Backend\Model\View\Result\Page\Interceptor.php(24): Magento\Backend\Model\View\Result\Page->setActiveMenu('Magento_Cms::cm...')
#25 C:\wamp64\www\magento2\app\code\Magento\Cms\Controller\Adminhtml\Page\Edit.php(57): Magento\Backend\Model\View\Result\Page\Interceptor->setActiveMenu('Magento_Cms::cm...')
#26 C:\wamp64\www\magento2\app\code\Magento\Cms\Controller\Adminhtml\Page\Edit.php(90): Magento\Cms\Controller\Adminhtml\Page\Edit->_initAction()
#27 C:\wamp64\www\magento2\var\generation\Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor.php(24): Magento\Cms\Controller\Adminhtml\Page\Edit->execute()
#28 C:\wamp64\www\magento2\lib\internal\Magento\Framework\App\Action\Action.php(102): Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor->execute()
#29 C:\wamp64\www\magento2\app\code\Magento\Backend\App\AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#30 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))
#31 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Chain\Chain.php(70): Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor->___callParent('dispatch', Array)
#32 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor), Array, 'adminAuthentica...')
#33 C:\wamp64\www\magento2\app\code\Magento\Backend\App\Action\Plugin\Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#34 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Chain\Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#35 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor), Array, 'adminMassaction...')
#36 C:\wamp64\www\magento2\app\code\Magento\Backend\App\Action\Plugin\MassactionKey.php(33): Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#37 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#38 C:\wamp64\www\magento2\var\generation\Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor.php(39): Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor->___callPlugins('dispatch', Array, Array)
#39 C:\wamp64\www\magento2\lib\internal\Magento\Framework\App\FrontController.php(55): Magento\Cms\Controller\Adminhtml\Page\Edit\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#40 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#41 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Chain\Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#42 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#43 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Module\Plugin\DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#44 C:\wamp64\www\magento2\lib\internal\Magento\Framework\Interception\Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#45 C:\wamp64\www\magento2\var\generation\Magento\Framework\App\FrontController\Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#46 C:\wamp64\www\magento2\lib\internal\Magento\Framework\App\Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#47 C:\wamp64\www\magento2\lib\internal\Magento\Framework\App\Bootstrap.php(258): Magento\Framework\App\Http->launch()
#48 C:\wamp64\www\magento2\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#49 {main}";s:3:"url";s:98:"/magento2/admin/cms/page/new/key/a42a423badee04d76d791cf0b4321d1282dde372bad87b0964a75ce6985f8f29/";s:11:"script_name";s:19:"/magento2/index.php";}
Please let me know . waiting for your reply
Regards
Manoj Sonawane
mssonawane
In short, your error message says:
Class Magento\Variable\Model\Variable\Config does not exist
This can either mean the the file containing that classes doesn't exist (it should be at vendor/magento/module-variable/Model/Variable/Config.php or app/code/Magento/Variable/Model/Variable/Config.php) or that something with the autoloader isn't working correctly. For me the file exists in a fresh Magento 2.1.3.