object(sql)#4 (14) {
["Host"]=>
string(9) "localhost"
["Database"]=>
string(4) "news"
["User"]=>
string(21) "user_5af11d2017e4c874"
["Password"]=>
string(32) "49JtETlHIoYvkk178tnE8+o0GKNH0cCE"
["Link_ID"]=>
object(mysqli)#8 (18) {
["affected_rows"]=>
int(-1)
["client_info"]=>
string(25) "mysqlnd 7.4.3-4ubuntu2.29"
["client_version"]=>
int(70403)
["connect_errno"]=>
int(0)
["connect_error"]=>
NULL
["errno"]=>
int(1064)
["error"]=>
string(180) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND(20251018) LIMIT 10' at line 1"
["error_list"]=>
array(1) {
[0]=>
array(3) {
["errno"]=>
int(1064)
["sqlstate"]=>
string(5) "42000"
["error"]=>
string(180) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND(20251018) LIMIT 10' at line 1"
}
}
["field_count"]=>
int(1)
["host_info"]=>
string(25) "Localhost via UNIX socket"
["info"]=>
NULL
["insert_id"]=>
int(0)
["server_info"]=>
string(38) "5.5.5-10.3.39-MariaDB-0ubuntu0.20.04.2"
["server_version"]=>
int(100339)
["sqlstate"]=>
string(5) "42000"
["protocol_version"]=>
int(10)
["thread_id"]=>
int(28700)
["warning_count"]=>
int(0)
}
["Query_ID"]=>
bool(false)
["Record"]=>
array(0) {
}
["Row"]=>
int(0)
["Errno"]=>
int(1064)
["Error"]=>
string(180) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND(20251018) LIMIT 10' at line 1"
["SET_NAMES"]=>
bool(false)
["query"]=>
array(5) {
["alltt"]=>
float(0.000636)
[0]=>
array(2) {
["q"]=>
string(29) "SELECT * FROM `questions_seo`"
["t"]=>
float(0.000236)
}
[1]=>
array(2) {
["q"]=>
string(63) "SELECT questions_type FROM `questions` ORDER BY RAND(7) LIMIT 1"
["t"]=>
float(0.000228)
}
[2]=>
array(2) {
["q"]=>
string(63) "SELECT questions_type FROM `questions` ORDER BY RAND(6) LIMIT 1"
["t"]=>
float(0.000125)
}
[3]=>
array(2) {
["q"]=>
string(80) "SELECT * FROM `questions` WHERE questions_type= ORDER BY RAND(20251018) LIMIT 10"
["t"]=>
float(4.7E-5)
}
}
["query_count"]=>
int(4)
["start"]=>
array(4) {
["sec"]=>
int(1760838169)
["usec"]=>
int(29961)
["minuteswest"]=>
int(0)
["dsttime"]=>
int(0)
}
}
array(5) {
["alltt"]=>
float(0.000636)
[0]=>
array(2) {
["q"]=>
string(29) "SELECT * FROM `questions_seo`"
["t"]=>
float(0.000236)
}
[1]=>
array(2) {
["q"]=>
string(63) "SELECT questions_type FROM `questions` ORDER BY RAND(7) LIMIT 1"
["t"]=>
float(0.000228)
}
[2]=>
array(2) {
["q"]=>
string(63) "SELECT questions_type FROM `questions` ORDER BY RAND(6) LIMIT 1"
["t"]=>
float(0.000125)
}
[3]=>
array(2) {
["q"]=>
string(80) "SELECT * FROM `questions` WHERE questions_type= ORDER BY RAND(20251018) LIMIT 10"
["t"]=>
float(4.7E-5)
}
}
Database error: Invalid SQL: SELECT * FROM `questions` WHERE questions_type= ORDER BY RAND(20251018) LIMIT 10
MySQL error:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND(20251018) LIMIT 10' at line 1
An error occurred. We apologize. We're fixing it now!