Something Strange just happened. When I view my pages, this appears on the top.
And this appears in the bodyCode:Warning: Variable passed to each() is not an array or object in /home/kookoot/ public_html/store/includes/classes/db/mysql/query_factory.php on line 112
I have not done anything. I didn't even upgrade or anything. It just appeared by itself. Nothing seems to be wrong with the server and the Database is intact. I'm so confused. I don't know what's wrong or how to fix it.Code:1064 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 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCT' at line 6 in: [select p.products_id, pd.products_name, products_date_available as date_expected from products p, products_description pd where to_days(products_date_available) > to_days(now()) and p.products_id = pd.products_id and pd.language_id = '1' order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]


All is not well. 
