WebSite X5Help Center

 
J. Van Parys
J. Van Parys
User

Php error after upgrading to 2022.1.4  en

Author: J. Van Parys
Visited 1604, Followers 2, Shared 0  

Hi,

I have a webshop built in version 2019.1.6. Now I copied this site to adapt some things. When opening the copied site I was informed that the sit would be converted to version 2022.1.4 (my current version).

No problem, no errors during conversion.

But when I want to check out my cart (buy now) I get a popoup window saying "generic error" and I stay on the "buy now" page. But the order is processed because I receive a confirmation email with order number etc...

But if I go to the admin page , I get below error message on top of the page : 

"Warning: Undefined array key "column" in /customers/b/9/1/vpsystem.be/httpd.www/brunch2022/res/x5engine.php on line 6548 Warning: Undefined array key "column" in /customers/b/9/1/vpsystem.be/httpd.www/brunch2022/res/x5engine.php on line 6548 Warning: Undefined array key "column" in /customers/b/9/1/vpsystem.be/httpd.www/brunch2022/res/x5engine.php on line 6548 Warning: Undefined array key "select" in /customers/b/9/1/vpsystem.be/httpd.www/brunch2022/res/x5engine.php on line 6415"

The admin page does load and I can perform whatever actions.

Can this have something to do with the conversion ? This site is accessing the same database as the previous version so maybe I have to sort of update my database as well as the latest version expects another table structure maybe ??

my URL is vpsystem.be/brunch2022 (in Dutch)

Thanks in advance

Johan

Posted on the
11 ANSWERS - 1 USEFUL - 1 CORRECT
J. Van Parys
J. Van Parys
User
Author

In addition : this is the database structure

Read more
Posted on the from J. Van Parys
Andre E
Andre E
Moderator
Best User of the month EN

please check php version used at your host is this set at 8.0 or higher?

if it still does not work do a full upload and try again.

Read more
Posted on the from Andre E
Andre E
Andre E
Moderator
Best User of the month EN

komt wel binnen trouwens ondanks error.....

Read more
Posted on the from Andre E
J. Van Parys
J. Van Parys
User
Author

Dag Andre

ja het lukt wel ondanks de error. Ik heb ook de bevestigingsmail van je bestelling gezien.

PHP is idd 8.0

Ik heb gisteren nog een full upload gedaan maar dat bracht geen soelaas

Groeten,

Johan

Read more
Posted on the from J. Van Parys
J. Van Parys
J. Van Parys
User
Author

I also renamed the databse tables and tried again.

The new tables were neatly created , but I still get the "generic error" message and the error on the admin page. although the orders are correctly processed and the admin page displays the correct information.

Johan

Read more
Posted on the from J. Van Parys
J. Van Parys
J. Van Parys
User
Author

When I try in preview mode it works fine (but there is no database involved then obviously...)

Read more
Posted on the from J. Van Parys
J. Van Parys
J. Van Parys
User
Author

I exported the template settings of my site & imported them in a brand new project. I recreated my shopping cart, pages, etc....

Same errors, so I guess it has nothing to do with copying and upgrading  but rather a bug in the latest version ...

Read more
Posted on the from J. Van Parys
J. Van Parys
J. Van Parys
User
Author

Apparently it is the PHP version used.

Although there is no error message when exporting the site ("checking PHP version") there is something wrong. The PHP version used is 8.0

I experimented with 8.1 but that was even worse : the admin page wouldn't load anymore and the PHPmailer also didn't work anymore.

some thoughts ?

Read more
Posted on the from J. Van Parys
J. Van Parys
J. Van Parys
User
Author

the exact PHP version used is 8.0.17

Read more
Posted on the from J. Van Parys
Incomedia
Stefano G.
Incomedia

Good afternoon Van Parys

I believe this might be due to PHP Warnings, which are error messages meant for development only that can cause trouble in a live website.

For this reason, they must always be turned off

Please contact your hosting provider's support and ask them to disable any PHP Warning for your website. The issue should be solved then and you should never see those messages again

Please try this out and let me know if it works

Thank you

Stefano

Read more
Posted on the from Stefano G.
J. Van Parys
J. Van Parys
User
Author

Hi Stefano,

I disabled the PHP warnings.

Now everything is running fine.

THANKS !!

Johan

Read more
Posted on the from J. Van Parys