MP-zoho Posted November 3, 2016 Share Posted November 3, 2016 Hi, When I want to create an account, in the last step (when you finish, you have a refresh to go to "my account" page), I have an error and the account isn't created. In my log, I have this error : PHP Fatal error: Uncaught Error: Access to undeclared static property: Validate::$data in xxxxxxx/www/classes/ObjectModel.php:1149\nStack trace:\n#0 xxxxxxx/www/controllers/front/AuthController.php(437): ObjectModelCore->validateController()\n#1 xxxxxxx/www/controllers/front/AuthController.php(256): AuthControllerCore->processSubmitAccount()\n#2 xxxxxxx/www/classes/controller/Controller.php(178): AuthControllerCore->postProcess()\n#3 xxxxxxx/www/classes/Dispatcher.php(367): ControllerCore->run()\n#4 xxxxxxx/www/index.php(28): DispatcherCore->dispatch()\n#5 {main}\n thrown in xxxxxxx/www/classes/ObjectModel.php on line 1149, referer: http://xxxxxxx.com/connexion?back=my-account Prestashop is v1.6.1.2. Thanks Link to comment Share on other sites More sharing options...
MP-zoho Posted November 3, 2016 Author Share Posted November 3, 2016 Re, In fact, if I understand, when Validate::$data or Validate::$values are called, I have an error. I try other form (like, in backend, sending mails parameters) and I have same trouble. Thanks Link to comment Share on other sites More sharing options...
MP-zoho Posted November 4, 2016 Author Share Posted November 4, 2016 Re, I find my issue. I think the problem comes from php7 migration. To solve, I replace all Validate::$data['xxxx']($yyyy) by call_user_func('Validate::'.$data['xxxx'],$yyyy). Thanks 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