Jump to content

Unable to get store out of maintenance mode


Recommended Posts

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

Link to comment
Share on other sites

  • 6 months later...
  • 4 months later...
  • 1 month later...

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 by prestowicz (see edit history)
Link to comment
Share on other sites

  • 1 month later...

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 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

Link to comment
Share on other sites

  • 1 month later...

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 180function 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,

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 1 year later...

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...