Code: Select all
Fatal error: Uncaught TypeError: Return value of SimpleStatistics::getDb() must be an instance of stdClass, null returned in [directory]/plugins/simple-statistics/class.SimpleStatistics.php:47 Stack trace: #0 [directory]/plugins/simple-statistics/class.SimpleStatistics.php(30): SimpleStatistics->getDb() #1 [directory]/plugins/simple-statistics/simple-statistics.php(6): SimpleStatistics->init() #2 [directory]/index.php(1137): include('[directory]...') #3 [directory]/index.php(127): Wcms->loadPlugins() #4 [directory]/index.php(15): Wcms->init() #5 {main} thrown in [directory]/plugins/simple-statistics/class.SimpleStatistics.php on line 47
Upon deleting the Simple Statistics plugin directory, the error was eliminated.
No other plugins were installed. There is one line of JS in one of my content blocks.