Jump to content

Warning: Register_Shutdown_Function():


Amanmca

Recommended Posts

Hi Guys,

 

I am getting this error msg on top when I go to modules section. 

 

Warning: register_shutdown_function(): Invalid shutdown callback 'displayFatalError' passed in /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php on line 71 Call Stack: 0.0002 641432 1.

 

 

Also I am not able to use module like 1 Click upgrade module I get the following error with the black page. No idea why its happening 

 

Warning: register_shutdown_function(): Invalid shutdown callback 'displayFatalError' passed in /home/............

 

 

My Prestashop version: PrestaShop™ 1.5.2.0

Link to comment
Share on other sites

Do you have more information?

 

PrestaShop is trying to display a fatal error, but even that seems to fail. The cause must be somewhere before that error.

 

 

What sort of information is required? When I try to configure or activate/deactivate any module error msg is displayed on top with white blank screen. When I go back to the modules its been changed but it just takes me to error page. 

 

Same way when I try to upgrade the prestashop with 1 click upgrade module it gives me error  

 

Warning: register_shutdown_function(): Invalid shutdown callback 'displayFatalError' passed in /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php on line 71 Call Stack: 0.0002 642984 1. {main}() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:0 0.1305 10072536 2. DispatcherCore->dispatch() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:50 0.1389 10506520 3. ControllerCore::getController() /home/shadeau/public_html/test/webroot/classes/Dispatcher.php:341 0.1488 12869416 4. AdminModulesControllerCore->__construct() /home/shadeau/public_html/test/webroot/classes/controller/Controller.php:128 0.1579 13649432 5. register_shutdown_function() /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:71 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:71) in /home/shadeau/public_html/test/webroot/modules/contactform/contactform.php on line 2 Call Stack: 0.0002 642984 1. {main}() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:0 0.1305 10072536 2. DispatcherCore->dispatch() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:50 0.1648 14719432 3. ControllerCore->run() /home/shadeau/public_html/test/webroot/classes/Dispatcher.php:348 0.2043 18606048 4. AdminModulesControllerCore->initContent() /home/shadeau/public_html/test/webroot/classes/controller/Controller.php:167 0.2054 18611952 5. ModuleCore::getModulesOnDisk() /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:950 0.3167 30112920 6. require_once('/home/shadeau/public_html/test/webroot/modules/contactform/contactform.php') /home/shadeau/public_html/test/webroot/classes/module/Module.php:1040 0.3167 30112968 7. session_start() /home/shadeau/public_html/test/webroot/modules/contactform/contactform.php:2

Link to comment
Share on other sites

This is the error I am getting after moving the module outside

 

Warning: register_shutdown_function(): Invalid shutdown callback 'displayFatalError' passed in /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php on line 71 Call Stack: 0.0002 643064 1. {main}() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:0 0.1646 10073120 2. DispatcherCore->dispatch() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:50 0.1730 10507416 3. ControllerCore::getController() /home/shadeau/public_html/test/webroot/classes/Dispatcher.php:341 0.1872 12870400 4. AdminModulesControllerCore->__construct() /home/shadeau/public_html/test/webroot/classes/controller/Controller.php:128 0.1971 13650440 5. register_shutdown_function() /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:71 Warning: Cannot modify header information - headers already sent by (output started at /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:71) in /home/shadeau/public_html/test/webroot/modules/autoupgrade/autoupgrade.php on line 139 Call Stack: 0.0002 643064 1. {main}() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:0 0.1646 10073120 2. DispatcherCore->dispatch() /home/shadeau/public_html/test/webroot/admin-shadeaus/index.php:50 0.2101 14720432 3. ControllerCore->run() /home/shadeau/public_html/test/webroot/classes/Dispatcher.php:348 0.2422 17946304 4. AdminModulesControllerCore->postProcess() /home/shadeau/public_html/test/webroot/classes/controller/Controller.php:158 0.2423 17949064 5. AdminModulesControllerCore->postProcessCallback() /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:717 0.2442 18095872 6. Autoupgrade->getContent() /home/shadeau/public_html/test/webroot/controllers/admin/AdminModulesController.php:597 0.2442 18096112 7. header() /home/shadeau/public_html/test/webroot/modules/autoupgrade/autoupgrade.php:139

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...