Med6 Posted April 7, 2014 Share Posted April 7, 2014 Hi I just enabled the error log in my presta And I get this error Notice: Trying to get property of non-object in C:\wamp\www\harm\cache\smarty\compile\bc96664e87485901a4154db091bd5c34313ef153.file.metromenu2-home.tpl.php on line 65 Call Stack # Time Memory Function Location 1 0.0013 255240 {main}( ) ..\index.php:0 2 0.3050 7198680 DispatcherCore->dispatch( ) ..\index.php:28 3 0.3268 7807760 ControllerCore->run( ) ..\Dispatcher.php:349 4 0.4487 11245680 IndexControllerCore->initContent( ) ..\Controller.php:167 5 0.4487 11245800 FrontControllerCore->initContent( ) ..\IndexController.php:37 6 6.6074 21831632 HookCore::exec( ) ..\FrontController.php:426 7 6.7265 23073176 metromenu2->hooktop( ) ..\Hook.php:423 8 6.7265 23073208 metromenu2->hookHome( ) ..\metromenu2.php:91 9 6.7265 23073464 ModuleCore->display( ) ..\metromenu2.php:119 10 6.7276 23078816 Smarty_Internal_TemplateBase->fetch( ) ..\Module.php:1621 11 7.3247 26137080 content_5317af6c930076_05906233( ) ..\smarty_internal_templatebase.php:180 Differents hooks I have in my Module file : function hooktop($params){ return $this->hookHome( $params); } function hookDisplaySlideshow($params){ return $this->hookHome( $params); } function hookDisplayPromoteTop($params){ return $this->hookHome( $params); } function hookDisplayBottom($params){ return $this->hookHome( $params); } function hookDisplayContentBottom($params){ return $this->hookHome( $params); } function hookDisplayFootNav($params){ return $this->hookHome( $params); } public function hookHome($params) { return $this->display(__FILE__, 'metromenu2-home.tpl'); } Link to comment Share on other sites More sharing options...
vekia Posted April 7, 2014 Share Posted April 7, 2014 it's a bug from your menu module (metromenu?) metromenu2-home.tpl due to the fact that this is probably non defualt module, it will be much easier if you will ask module developer about this bug. Link to comment Share on other sites More sharing options...
Med6 Posted April 7, 2014 Author Share Posted April 7, 2014 thanks to ur reply in fact I am the developper of this Module can u help me solve this problem ? 1 Link to comment Share on other sites More sharing options...
Med6 Posted April 7, 2014 Author Share Posted April 7, 2014 I think the problem is from metromenu2.php ? Link to comment Share on other sites More sharing options...
Recommended Posts