AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: timlight10 on May 10, 2026, 07:48:22 PM

Title: aMySQLi class error: Try to escape non-string value
Post by: timlight10 on May 10, 2026, 07:48:22 PM
Occasionally I see this error in my Messages:

aMySQLi class error: Try to escape non-string value: array ( 0 => '', ) (file: /home4/juliann7/public_html/dps/core/engine/resources.php line 746) Trace: #0 /home4/juliann7/public_html/dps/core/database/amysqli.php on line 218 #1 /home4/juliann7/public_html/dps/core/lib/db.php on line 149 #2 /home4/juliann7/public_html/dps/core/engine/resources.php on line 746 #3 /home4/juliann7/public_html/dps/core/engine/resources.php on line 531 #4 /home4/juliann7/public_html/dps/core/engine/resources.php on line 489
Any suggestions to stop it?
Title: Re: aMySQLi class error: Try to escape non-string value
Post by: abolabo on June 04, 2026, 06:25:52 AM
what version of abantecart do you use?
I remember we added more clear message for such case in the 1.4.0
Title: Re: aMySQLi class error: Try to escape non-string value
Post by: timlight10 on June 04, 2026, 08:56:25 AM
Version 1.4.4
Title: Re: aMySQLi class error: Try to escape non-string value
Post by: abolabo on June 07, 2026, 09:10:47 AM
please test this solution.
https://github.com/abantecart/abantecart-src/commit/d8e4737bbdafadb49b94521bd49c3cdb6cc980d0

you can replace your file with new
Title: Re: aMySQLi class error: Try to escape non-string value
Post by: timlight10 on June 09, 2026, 06:10:00 AM
I have updated them and will post back with results in a few weeks.