Jump to content
Claudia M

What does this error mean?

Recommended Posts

I got this several times in my system error log in admin.  What does it mean and how do I fix it?  Thanks in advance for any comments and help.

File: [catalogue.class.php] Line: [1930] " " - Query was empty
 
Today, 09:39 File: [catalogue.class.php] Line: [1932] "SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 AND " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

And this was in the error log I created:

[15-Feb-2019 09:39:38 America/Louisville] PHP Warning:  Invalid argument supplied for foreach() in /home/claudias/public_html/classes/catalogue.class.php on line 258

 

Edited by Claudia M

Share this post


Link to post
Share on other sites

Looks like bug when asking for Sale Items when the store is in a Non-Sale Global Sale mode.

Edited by bsmither

Share this post


Link to post
Share on other sites

I have the sales mode disabled.  When I list an item on eBay or Etsy I put my price in in the sale price box of that product so I know what to charge for it if it doesn't sell on eBay or Etsy.  Should I not do that?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...