Notice: Undefined variable: db in /home/wiilx/public_html/init.php on line 180

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/wiilx/public_html/init.php:180 Stack trace: #0 /home/wiilx/public_html/init.php(55): getAllFrom() #1 /home/wiilx/public_html/webset.php(12): GetTableSet() #2 /home/wiilx/public_html/index.php(5): include('/home/wiilx/pub...') #3 {main} thrown in /home/wiilx/public_html/init.php on line 180