Jump to content

The registration form does not send data and always returns to the same page


francescogreco1969

Recommended Posts

prestashop version 1.7.1 thene original (native)

thi is log error on the server:

 

 [error] [client 37.227.102.192] - shop.lilienbeautyline.com - AH01215: PHP Warning: array_reduce() expects parameter 1 to be array, boolean given in /web/htdocs/shop.lilienbeautyline.com/home/controllers/front/AuthController.php on line 61: /php-wrapper/php-cgi, referer https://shop.lilienb...reate_account=1

 
some one can help me please?
Edited by francescogreco1969 (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

 

i installed prestashop 1.7.1.1

 

The registration form does not send data and always returns to the same page, 

 

can you see t and try at  https://shop.lilienb...reate_account=1 .

 

what happends? some one help me please. thanks

 

 

Do you have any overrides installed? Possibly classes/hook.php?

 

I believe the root cause is somewhere in this change. According to error/warning message in previous comment, the arra_merge will receive boolean, instead of array, as it's first argument. That could be caused by old hook.php version caused by override.

 

Try to first figure out if there's any override. If you find none, edit controllers/front/AuthController.php, and change lines ~ 62 from

if ($hookResult && $register_form->submit()) { 
  $should_redirect = true; 
}

to

if ($register_form->submit()) {
  $should_redirect = true;
}

This does not solve the underlying issue with hook calling, but at least the form will be saved 

Link to comment
Share on other sites

can you help me ? i don't know how to resolve it. can you look in my account in prestashop? i can give user and password please

 

Sure. Send me access credentials to your store via PM. I will need ftp access as well.

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