maor1999 Posted November 28, 2016 Share Posted November 28, 2016 Hi all, I have installed prestashop 1.7 and when goint to menu Advanced Parameters -> e-mail, I get error 500. errorlog: [sun Nov 27 23:46:06.454009 2016] [:error] [pid 5195] [client 167.58.136.101:53850] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84, referer: http://167.58.136.102/prestashop/admin250uqldeg/index.php?controller=AdminCategories&id_category=8&viewcategory&token=2e84de359fd43bb846152b45bf32f526 [sun Nov 27 23:46:06.454065 2016] [:error] [pid 5195] [client 167.58.136.101:53850] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84, referer: http://167.58.136.102/prestashop/admin250uqldeg/index.php?controller=AdminCategories&id_category=8&viewcategory&token=2e84de359fd43bb846152b45bf32f526 [sun Nov 27 23:46:06.455050 2016] [:error] [pid 5195] [client 167.58.136.101:53850] PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Call to a member function trans() on null in /var/www/html/prestashop/classes/controller/Controller.php:232\nStack trace:\n#0 /var/www/html/prestashop/controllers/admin/AdminEmailsController.php(90): ControllerCore->trans('Email', Array, 'Admin.Global')\n#1 /var/www/html/prestashop/classes/controller/Controller.php(138): AdminEmailsControllerCore->__construct(false, false)\n#2 /var/www/html/prestashop/classes/Dispatcher.php(358): ControllerCore::getController('AdminEmailsCont...')\n#3 /var/www/html/prestashop/admin250uqldeg/index.php(95): DispatcherCore->dispatch()\n#4 {main}\n\nNext LogicException: Request stack is empty in /var/www/html/prestashop/app/bootstrap.php.cache:3216\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalThrowableError))\n#1 /var/www/html/prestashop/app/cache/prod/classes.php(2072): call_user_func(Array, Object(Symfony\\Component\\Debug\\Ex in /var/www/html/prestashop/app/bootstrap.php.cache on line 3216, referer: http://167.58.136.102/prestashop/admin250uqldeg/index.php?controller=AdminCategories&id_category=8&viewcategory&token=2e84de359fd43bb846152b45bf32f526 [sun Nov 27 23:46:12.831828 2016] [:error] [pid 5268] [client 167.58.136.101:53854] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84 [sun Nov 27 23:46:12.831901 2016] [:error] [pid 5268] [client 167.58.136.101:53854] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84 [sun Nov 27 23:46:12.833441 2016] [:error] [pid 5268] [client 167.58.136.101:53854] PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Call to a member function trans() on null in /var/www/html/prestashop/classes/controller/Controller.php:232\nStack trace:\n#0 /var/www/html/prestashop/controllers/admin/AdminEmailsController.php(90): ControllerCore->trans('Email', Array, 'Admin.Global')\n#1 /var/www/html/prestashop/classes/controller/Controller.php(138): AdminEmailsControllerCore->__construct(false, false)\n#2 /var/www/html/prestashop/classes/Dispatcher.php(358): ControllerCore::getController('AdminEmailsCont...')\n#3 /var/www/html/prestashop/admin250uqldeg/index.php(95): DispatcherCore->dispatch()\n#4 {main}\n\nNext LogicException: Request stack is empty in /var/www/html/prestashop/app/bootstrap.php.cache:3216\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalThrowableError))\n#1 /var/www/html/prestashop/app/cache/prod/classes.php(2072): call_user_func(Array, Object(Symfony\\Component\\Debug\\Ex in /var/www/html/prestashop/app/bootstrap.php.cache on line 3216 [sun Nov 27 23:46:17.509855 2016] [:error] [pid 5200] [client 167.58.136.101:53852] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84 [sun Nov 27 23:46:17.510005 2016] [:error] [pid 5200] [client 167.58.136.101:53852] PHP Notice: Trying to get property of non-object in /var/www/html/prestashop/controllers/admin/AdminEmailsController.php on line 84 [sun Nov 27 23:46:17.513248 2016] [:error] [pid 5200] [client 167.58.136.101:53852] PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Call to a member function trans() on null in /var/www/html/prestashop/classes/controller/Controller.php:232\nStack trace:\n#0 /var/www/html/prestashop/controllers/admin/AdminEmailsController.php(90): ControllerCore->trans('Email', Array, 'Admin.Global')\n#1 /var/www/html/prestashop/classes/controller/Controller.php(138): AdminEmailsControllerCore->__construct(false, false)\n#2 /var/www/html/prestashop/classes/Dispatcher.php(358): ControllerCore::getController('AdminEmailsCont...')\n#3 /var/www/html/prestashop/admin250uqldeg/index.php(95): DispatcherCore->dispatch()\n#4 {main}\n\nNext LogicException: Request stack is empty in /var/www/html/prestashop/app/bootstrap.php.cache:3216\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalThrowableError))\n#1 /var/www/html/prestashop/app/cache/prod/classes.php(2072): call_user_func(Array, Object(Symfony\\Component\\Debug\\Ex in /var/www/html/prestashop/app/bootstrap.php.cache on line 3216 Any idea? thanks Regards Marcos Link to comment Share on other sites More sharing options...
globosoftware.net Posted November 28, 2016 Share Posted November 28, 2016 What is your PHP version? Link to comment Share on other sites More sharing options...
maor1999 Posted November 28, 2016 Author Share Posted November 28, 2016 (edited) My fault, I've installed PHP7 instead of 5.6 Thanks Regards, Marcos Edited November 28, 2016 by maor1999 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now