Post by Toopasty » Sun Dec 01, 2019 5:58 am

Hello,
Have been having issues with an opencart (v3.0.3.2) website anytime we click to view a particular order we get a blank page with the below error

Warning: mysqli::query(): (21000/1242): Subquery returns more than 1 row in /var/www/html/system/library/db/mysqli.php on line 18

The website is a new install and we are using Smartaddons Ecogreen theme, we recently install TMD extra tabs. Please help if you have any idea whats wrong because have checked the code and have not really notice whats wrong with it.
Thank You

Newbie

Posts

Joined
Tue Nov 13, 2018 12:09 am

Post by opencartmart » Sun Dec 01, 2019 5:33 pm

The error is very clear as you see, sub-query returns more than a single row. Please share the full query to get help. You can find the query in the error message.

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by letxobnav » Sun Dec 01, 2019 5:48 pm

seen before, duplicate data error.
check the query, check it's sub queries and which data they select.
then check the database, sure there is a duplicate record which should not be there.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Mon Dec 02, 2019 7:43 pm

Toopasty wrote:
Sun Dec 01, 2019 5:58 am
we recently install TMD extra tabs.
Try uninstalling it and any other extensions you've installed to rule those out.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ashwani_multi » Thu Mar 26, 2020 2:58 pm

this issue only come when seo keyword present more then one in database same id

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by letxobnav » Thu Mar 26, 2020 6:12 pm

no, that is not it.
1) you cannot have a double id entry in the seo_url table as that is the primary key
2) nowhere is the seo_url table used in a sub query.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: No registered users and 68 guests