After I have tons of errors, but they’re all about database… that for some obscure reason doesn’t want to work. Due to this bug I cannot fetch anything, use anything, everything is null. With brutal debugger, it announces this error:
I replaced actual name with potato.php
.
E_WARNING Error in file �potato.php� at line 21: var_dump(): Property access is not allowed yet E_WARNING Error in file �potato.php� at line 21: var_dump(): Property access is not allowed yet E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Property access is not allowed yet E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Property access is not allowed yet E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli E_WARNING Error in file �potato.php� at line 21: var_dump(): Couldn't fetch mysqli object(mysqli)#1 (19) { ["affected_rows"]=> NULL ["client_info"]=> NULL ["client_version"]=> int(50012) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> NULL ["error"]=> NULL ["error_list"]=> NULL ["field_count"]=> NULL ["host_info"]=> NULL ["info"]=> NULL ["insert_id"]=> NULL ["server_info"]=> NULL ["server_version"]=> NULL ["stat"]=> NULL ["sqlstate"]=> NULL ["protocol_version"]=> NULL ["thread_id"]=> NULL ["warning_count"]=> NULL }
Error is printed as many times as you see, even though this function gets called 3 times only as far as I know.
The 21st line is 17th in pastebin. It’s the var_dump($sqli);
from within the function.
Tell me what you need to know.