Penge Posted October 10, 2015 Share Posted October 10, 2015 Hello I have put my store into maintenance mode while I'm working on it. However when I try to put it online again I just got a blank screen in admin after I click SAVE on the Maintenance page. I turn debug mode on and here is the error message I get: Fatal error: Uncaught Error: Access to undeclared static property: Validate::$values in /home/60/w265020/www/classes/controller/AdminController.php:1383 Stack trace: #0 /home/60/w265020/www/classes/controller/AdminController.php(897): AdminControllerCore->processUpdateOptions() #1 /home/60/w265020/www/classes/controller/Controller.php(178): AdminControllerCore->postProcess() #2 /home/60/w265020/www/classes/Dispatcher.php(367): ControllerCore->run() #3 /home/60/w265020/www/admin878r5iu0s/index.php(58): DispatcherCore->dispatch() #4 {main} thrown in /home/60/w265020/www/classes/controller/AdminController.php on line 1383 After I turned debug on I also recieve an error window on top of my screen every time I move around in admin. The text is: Unknown error på linje 112 i fil /home/60/w265020/www/tools/pear/PEAR.php [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructorUnknown error på linje 829 i fil /home/60/w265020/www/tools/pear/PEAR.php[8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR_Error has a deprecated constructor Link to comment Share on other sites More sharing options...
Penge Posted October 10, 2015 Author Share Posted October 10, 2015 I had to go into the database and change the value manually. There is still a problem why I can't use the menu function in admin to turn ut on again so please help me understand the error message anyone. Link to comment Share on other sites More sharing options...
Penge Posted October 11, 2015 Author Share Posted October 11, 2015 Please help me anyone... Link to comment Share on other sites More sharing options...
bruce_k Posted April 20, 2016 Share Posted April 20, 2016 Hi, could you resolve your problem ? I'm having the same problem Link to comment Share on other sites More sharing options...
webgurudc Posted August 25, 2016 Share Posted August 25, 2016 I am having same error too. Link to comment Share on other sites More sharing options...
prestowicz Posted October 19, 2016 Share Posted October 19, 2016 (edited) Got a similiar error after switching PS 1.6.4.1 to PHP 7, no emails are send, after DEV_DEBUGING got some info: /public_html/tools/pear/PEAR.php [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor will go deeper into that #EDIT change class name method to : public function __construct Edited October 20, 2016 by prestowicz (see edit history) Link to comment Share on other sites More sharing options...
rashinfo Posted December 12, 2016 Share Posted December 12, 2016 help me Unknown error på linje 112 i fil /home/60/w265020/www/tools/pear/PEAR.php [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructorUnknown error på linje 829 i fil /home/60/w265020/www/tools/pear/PEAR.php[8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR_Error has a deprecated constructor Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted February 6, 2017 Share Posted February 6, 2017 Hello I have put my store into maintenance mode while I'm working on it. However when I try to put it online again I just got a blank screen in admin after I click SAVE on the Maintenance page. I turn debug mode on and here is the error message I get: Fatal error: Uncaught Error: Access to undeclared static property: Validate::$values in /home/60/w265020/www/classes/controller/AdminController.php:1383 Stack trace: #0 /home/60/w265020/www/classes/controller/AdminController.php(897): AdminControllerCore->processUpdateOptions() #1 /home/60/w265020/www/classes/controller/Controller.php(178): AdminControllerCore->postProcess() #2 /home/60/w265020/www/classes/Dispatcher.php(367): ControllerCore->run() #3 /home/60/w265020/www/admin878r5iu0s/index.php(58): DispatcherCore->dispatch() #4 {main} thrown in /home/60/w265020/www/classes/controller/AdminController.php on line 1383 After I turned debug on I also recieve an error window on top of my screen every time I move around in admin. The text is: Unknown error på linje 112 i fil /home/60/w265020/www/tools/pear/PEAR.php [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR has a deprecated constructor Unknown error på linje 829 i fil /home/60/w265020/www/tools/pear/PEAR.php [8192] Methods with the same name as their class will not be constructors in a future version of PHP; PEAR_Error has a deprecated constructor HOW TO FIX: Open file: prestashop/tools/pear/PEAR.php At line 180: function PEAR($error_class = null) ---> function __construct($error_class = null) At line: 864: function PEAR_Error($message = 'unknown error', $code = null, -----> function __construct($message = 'unknown error', $code = null, 1 Link to comment Share on other sites More sharing options...
Alba Posted February 20, 2017 Share Posted February 20, 2017 You are wonderful, ZikmaSolutions. Thank you! Link to comment Share on other sites More sharing options...
passio Posted April 2, 2017 Share Posted April 2, 2017 It Works ! THANK YOU Link to comment Share on other sites More sharing options...
fgarganese Posted August 12, 2018 Share Posted August 12, 2018 the code patch works; thank you very much Zikma Solutions! 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