Array
(
[0] => Array
(
[file] => /usr/share/nginx/html/shop/includes/functions/database.php
[line] => 45
[function] => tep_db_error
[args] => Array
(
[0] => select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1
[1] => 1064
[2] => 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 'ORDER BY rand() LIMIT 1' at line 1
)
)
[1] => Array
(
[file] => /usr/share/nginx/html/shop/includes/boxes/customer_testimonials.php
[line] => 37
[function] => tep_db_query
[args] => Array
(
[0] => select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1
)
)
[2] => Array
(
[file] => /usr/share/nginx/html/shop/includes/column_left.php
[line] => 33
[args] => Array
(
[0] => /usr/share/nginx/html/shop/includes/boxes/customer_testimonials.php
)
[function] => include
)
[3] => Array
(
[file] => /usr/share/nginx/html/shop/specials.php
[line] => 51
[args] => Array
(
[0] => /usr/share/nginx/html/shop/includes/column_left.php
)
[function] => require
)
)
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 'ORDER BY rand() LIMIT 1' at line 1
select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1