Jump to content

500 error after adding order from BO


OswellSpencer

Recommended Posts

When I add item new order from Back Office it throws me 500 error, and after reloading page I see error: 

spacer.png

 

Order is added correctly ( however without status update to "payment accepted" as it should ). 

In "var/logs" I see "Invalid product vars at line 158 in file classes/Link.php".

Thats the code:

spacer.png

 

Prestashop 1.7.6.1

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

8 minutes ago, Crezzur said:

Please enable your error reporting, this way you will receive an error report instead of a 500 page.

I tried to go into debug mode, changed definse.inc.php to

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}
 

In Admin Panel appears like debug mode is on, but it never appears like on the web. Tried clearing cache etc, without effect. Maybe there is some more cache somewhere...

Link to comment
Share on other sites

9 hours ago, OswellSpencer said:

I discovered that it is caused by "Mail Alert" module. Disabled it and it gone.

This module is a prestashop default and should not cause the issue, you could try to reinstall it and see what it does. (I guess it conflicts with a custom module)

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