moved the site to the local openserver hosting. DB is connected, the path. It turns out such an error
Fatal error: Call to a member function asCMenuArray () on D
Lines of the code where he swears
<?php Yii::import('application.modules.store.models.StoreCategory'); $items = StoreCategory::model()->findByPk(1)->asCMenuArray(); if(isset($items['items'])) { $this->widget('application.extensions.mbmenu.MbMenu',array( 'htmlOptions'=>array('class'=>'catalog-menu', 'id'=>'nav'), 'items'=>$items['items']) ); }
?>
findByPk(1)
did not return anything andasCMenuArray
nothing to apply. and not on the open server when there was a project - did not swear because the error output was probably turned off. And another version of php is different ... although the version doesn’t particularly affect this ... just had to switch on the error display before) and check that the data actually returned - Alex Shimanskyerror_reporting
disabled, I guess. as I mentioned above - Alexey Shimansky