Hello everyone. I have a problem with the website because I get this error
Fatal error: Uncaught Error: Call to a member function prepare() on null in /usr/local/www/apache24/data/include/classes/news.php:113 Stack trace: #0 /usr/local/www/apache24/data/pages/news.php(38): paginate->dataview('SELECT * FROM n...', 'Are you sure?', 0, 9, '[Hidden Content]....', 'Read more', 'Time') #1 /usr/local/www/apache24/data/index.php(210): include('/usr/local/www/...') #2 {main} thrown in /usr/local/www/apache24/data/include/classes/news.php on line 113