Jump to content

Fatal error: Uncaught Error: Access to undeclared static property


jacdam

Recommended Posts

Hi, I hope someone can help me out... How can I solve this problem?

 

Suddenly I get this error while changing preferrences in my backend:
 

Fatal error: Uncaught Error: Access to undeclared static property: Validate::$values in /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/controller/AdminController.php:1389 Stack trace: #0 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/controller/AdminController.php(903): AdminControllerCore->processUpdateOptions() #1 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/controller/Controller.php(178): AdminControllerCore->postProcess() #2 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/Dispatcher.php(367): ControllerCore->run() #3 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/iadmin/index.php(58): DispatcherCore->dispatch() #4 {main} thrown in /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/controller/AdminController.php on line 1389

 

 

 

...And I get this error while trying to make a new account in my shops frontend:

 

Fatal error: Uncaught Error: Access to undeclared static property: Validate::$data in /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/ObjectModel.php:1149 Stack trace: #0 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/controllers/front/AuthController.php(437): ObjectModelCore->validateController() #1 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/controllers/front/AuthController.php(256): AuthControllerCore->processSubmitAccount() #2 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/controller/Controller.php(178): AuthControllerCore->postProcess() #3 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/Dispatcher.php(367): ControllerCore->run() #4 /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/index.php(28): DispatcherCore->dispatch() #5 {main} thrown in /home/aquastyle/domains/aquastyle.nl/public_html/vijver-fontein-webshop/classes/ObjectModel.php on line 1149

 

PS version: 1.6.1.3

 

This is on the lines:

 

AdminController.php:1389:

if (!Validate::$values['validation'](Tools::getValue($field))) {

 

ObjectModel.php on line 1149:

    if (isset($data['validate']) && !Validate::$data['validate']($value) && (!empty($value) || $data['required'])) {

Edited by jacdam (see edit history)
Link to comment
Share on other sites

Thanks for your response!

PS version: 1.6.1.3

This is on the lines:

 

AdminController.php:1389:

if (!Validate::$values['validation'](Tools::getValue($field))) {

 

ObjectModel.php on line 1149:

    if (isset($data['validate']) && !Validate::$data['validate']($value) && (!empty($value) || $data['required'])) {

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