• Closed by: Fred
  • Closed on: 01.02.20, 14:48
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #16631 - 500 error in checkout

Hi,

I have a 500 error in the check-out.

See video for explanation.

How can i fix this issue.

https://vimeo.com/384475185

Kind Regards
Jos

Comments

Fred 13 Jan 2020, 11:48

Hi, Jos.
I have enabled Debug Mode to see error messages, and I see the error caused by myparcel module. Try to disable it and make another test with enabled Debug

Jos Salfischberger 13 Jan 2020, 12:40

Hi Fred,

I don’t have my parcel module. Which site do you check.

Its https://pimstrameubelen.nl

Fred 13 Jan 2020, 21:26

Do you have two licenses for second domain? we can support only one domain per license

Jos Salfischberger 14 Jan 2020, 12:43

Hi Fred,

Can you please take a look to the problem. I ordered extra support a couple of weeks ago.

I really appriciate that.

Thanks!
Jos

Fred 17 Jan 2020, 10:29

I see two active websites https://slipstopshoes.nl and https://pimstrameubelen.nl/ but we can support only one website per license

Jos Salfischberger 17 Jan 2020, 13:42

Hi,

The license is only active on pimstrameubelen.nl right now.

Can you please check now?

Kind Regards,
Jos

Fred 17 Jan 2020, 13:45

Ok, Please update fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP and BackOffice

Jos Salfischberger 17 Jan 2020, 14:06

Done!

Fred 18 Jan 2020, 12:34

I have updated the theme, then tested out your checkout and it seems works. The video is not available more to see what was wrong exactly.

Jos Salfischberger 18 Jan 2020, 13:42

Probleem solved thank you.

But carrousel on homepage is not working anymore.

Before There where 4 columns carrousel on desktop version and 2 column carrousel on mobile version.

See attachment

Fred 18 Jan 2020, 15:03

The issue has been fixed. Please test to confirm the change

Jos Salfischberger 18 Jan 2020, 15:16

The error 500 has indeed been solved. But a number of things are unfortunately no longer good:
 
1. The 4 main groups with a photo on the homepage have a far too thick green bar now.

2. The photo of a random product on, for example, the “workbenches” page cannot always be clicked on. Sometimes a hand, sometimes an arrow. The photos of the main groups on the homepage, for example, always work well.

3. When you click on a sold product, an error page appears.

4. On gsm it is not possible to click on a picture of a random product. In the main groups with a photo you can click on the photo.

5. In checkout it is again under address: the selected address will be used for both your invoice and delivery address. This can be removed.

6. After placing an order you will return to a page of the webshop. You have to leave: you can also download your invoice.
7. The customer does not receive a confirmation email with the invoice as an attachment.

Fred 19 Jan 2020, 23:33

1. The 4 main groups with a photo on the homepage have a far too thick green bar now. — as I can see you have custom CSS code what changes the view, please review it.
2. Try following CSS fix:

.product-actions {display:none}

3. The error with Sold Out product causes by your customisations in the file /themes/alysum/templates/catalog/_partials/product-add-to-cart.tpl
4. See #2
5. I’m not sure that is a theme’s issue
6. That is a default prestashop behaviour and not related to the theme.
7. Email templates are not a part of the theme

Jos Salfischberger 20 Jan 2020, 10:20

Hi,

I see DEBUG modus is ON. When i turn off DEBUG modus the 500 error in the check-out is still there.

Can you check?

Jos Salfischberger 20 Jan 2020, 10:28

Hi,

Here is a video: https://vimeo.com/385938359

And point 2 and 4 are not fixed. When i add the CSS the “add to cart” buttons are away. What we want is to remove the buttons in the product thumb/image. So a user can click direcly on the image without seeing the actions.

Thanks!

Kind Regards,
Jos

Fred 20 Jan 2020, 10:31

The video is unavailable
2,4 is fixed now

Jos Salfischberger 20 Jan 2020, 10:32

Hi, you are so fast that the video is converting. Check the video within 5 min and it’s working. ;-)

Fred 20 Jan 2020, 11:14

I just made a test 3 times and it always works correctly for me, here is the screenshot with my last test https://take.ms/BtzAP, you can also have to see 3 registered accounts in your back office > customers

Jos Salfischberger 20 Jan 2020, 11:27

Hi, you must not make an account.

So this are the steps

1. Add product to cart
2. Fill in your name , surename and e-mail
3. click on next, the system goes to the address section
4. Leave the address section and add another product
5. Go the check-out again
6. Your first, surename and e-mail are already filled
7. Click on next
8. 500 error.

Fred 20 Jan 2020, 12:17

I need to read server error logs to find out what’s wrong

Jos Salfischberger 20 Jan 2020, 14:01

Hi,

Here is the error-log

[Mon Jan 20 13:51:34.180058 2020] [lsapi:warn] [pid 221821:tid 140165831292672] mod_lsapi: Connection Pool Mode is forcibly turned off - too few backend children for 32 MaxDaemons
[Mon Jan 20 13:51:34.180069 2020] [lsapi:warn] [pid 221821:tid 140165831292672] mod_lsapi: Connection Pool Mode is forcibly turned off - too few backend children for 32 MaxDaemons
[Mon Jan 20 13:52:52.042995 2020] [lsapi:warn] [pid 287842:tid 140133866514176] mod_lsapi: Connection Pool Mode is forcibly turned off - too few backend children for 32 MaxDaemons
[Mon Jan 20 13:52:52.043011 2020] [lsapi:warn] [pid 287842:tid 140133866514176] mod_lsapi: Connection Pool Mode is forcibly turned off - too few backend children for 32 MaxDaemons
[Mon Jan 20 14:00:57.262556 2020] [lsapi:notice] [pid 317949:tid 139889988622080] [client 89.184.189.79:34767] [host pimstrameubelen.nl] Backend log: PHP Notice: Undefined index: newCustomer in /home/pimstra/domains/pimstrameubelen.nl/public_html/modules/mailchimppro/mailchimppro.php on line 789\n, referer: https://pimstrameubelen.nl/bestelling [Mon Jan 20 14:00:57.262641 2020] [lsapi:error] [pid 317949:tid 139889988622080] [client 89.184.189.79:34767] [host pimstrameubelen.nl] Backend fatal error: PHP Fatal error: Uncaught TypeError: Argument 3 passed to PrestaChamps\\MailchimpPro\\Hooks\\Action\\Customer\\AccountUpdate::run() must be an instance of Customer, null given, called in /home/pimstra/domains/pimstrameubelen.nl/public_html/modules/mailchimppro/mailchimppro.php on line 789 and defined in /home/pimstra/domains/pimstrameubelen.nl/public_html/modules/mailchimppro/src/PrestaChamps/MailchimpPro/Hooks/Action/Customer/AccountUpdate.php:57\nStack trace:\n#0 /home/pimstra/domains/pimstrameubelen.nl/public_html/modules/mailchimppro/mailchimppro.php(789): PrestaChamps\\MailchimpPro\\Hooks\\Action\\Customer\\AccountUpdate::run(Object(Context), Object(DrewM\\MailChimp\\MailChimp), NULL)\n#1 /home/pimstra/domains/pimstrameubelen.nl/public_html/classes/Hook.php(966): Mailchimppro→hookActionCustomerAccountUpdate(Array)\n#2 /home/pimstra/domains/pimstrameubelen.nl/public_html/classes/Hook.php(351): HookCore::coreCallHook(Object(Mailchimppro), ‘hookactionCusto…‘, Array)\n#3 /home/pimstra/domains/pimstrameubelen.nl/public_html/classes/Hook.ph in /home/pimstra/domains/pimstrameubelen.nl/public_html/modules/mailchimppro/src/PrestaChamps/MailchimpPro/Hooks/Action/Customer/AccountUpdate.php on line 57\n, referer: https://pimstrameubelen.nl/bestelling

Fred 20 Jan 2020, 15:37

As I can see the error caused by mailchimppro module

PHP Fatal error: Uncaught TypeError: null given, called in /modules/mailchimppro/mailchimppro.php on line 789