Jump to content

New user register form not rendering in PrestaShop 1.7.0.5


TheSebah

Recommended Posts

As the title states the user register up form doesn't show up at all. It doesn't show up on its dedicated sign up page, nor on the checkout page. I switched debugging on an this is the error that's being thrown.



ContextErrorException in AbstractForm.php line 155:
Warning: Invalid argument supplied for foreach()

in AbstractForm.php line 155 at ErrorHandler->handleError('2', 'Invalid argument supplied for foreach()', 'PATH/public_html/classes/form/AbstractForm.php', '155', array('params' => array('create_account' => '1', 'isolang' => 'ro', 'id_lang' => '1', 'controller' => 'authentication'), 'newFields' => null, 'this' => object(CustomerForm))) in AbstractForm.php line 155
at AbstractFormCore->fillWith(array('create_account' => '1', 'isolang' => 'ro', 'id_lang' => '1', 'controller' => 'authentication')) in AuthController.php line 42
at AuthControllerCore->initContent() in Controller.php line 201
at ControllerCore->run() in Dispatcher.php line 366
at DispatcherCore->dispatch() in index.php line 28

(for a much better formatted version please check the screenshot)


I've also checked the error_log and this is what I found there



PHP Fatal error: Uncaught --> Smarty: Missing template name <-- thrown in /PATH/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_template.php on line 680
PHP Warning: Invalid argument supplied for foreach() in /PATH/public_html/classes/form/AbstractForm.php on line 155
PHP Warning: Invalid argument supplied for foreach() in /PATH/public_html/classes/form/AbstractForm.php on line 76
PHP Warning: array_map(): Argument #2 should be an array in /PATH/public_html/classes/form/CustomerForm.php on line 162

I'm running PrestaShop 1.7.0.5, using the Classic theme and I haven't changed anything in the template files.


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