Fatal error: Uncaught Error: Call to a member function show() on null in /usr/www/users/samirb/core/database.php:89 Stack trace: #0 /usr/www/users/samirb/core/database.php(54): database->error('select\n ...', 'You have an err...') #1 /usr/www/users/samirb/core/mysql.php(109): database->get_mysql_query('select\n ...', true) #2 /usr/www/users/samirb/models/products/index.php(236): mysql->query('select\n ...') #3 /usr/www/users/samirb/controllers/products.php(32): index->get_materials(NULL) #4 /usr/www/users/samirb/core/init.php(43): products->index(Array) #5 /usr/www/users/samirb/index.php(4): require_once('/usr/www/users/...') #6 {main} thrown in /usr/www/users/samirb/core/database.php on line 89