SQLSTATE[HY000] [2006] MySQL server has gone away
Fatal error: Uncaught Error: Call to a member function query() on null in /var/sites/r/retrocollect.com/public_html/app/Statics/Maps.php:152 Stack trace: #0 /var/sites/r/retrocollect.com/public_html/app/Statics/Maps.php(30): app\Statics\Maps::readPlatformMaps() #1 /var/sites/r/retrocollect.com/public_html/app/Views/SearchResultsViewHtml.php(128): app\Statics\Maps::getPlatform('32') #2 /var/sites/r/retrocollect.com/public_html/app/Views/SearchResultsViewHtml.php(45): app\Views\SearchResultsViewHtml->createFilterButtons() #3 /var/sites/r/retrocollect.com/public_html/app/Controllers/AbstractResourceController.php(152): app\Views\SearchResultsViewHtml->__construct(Object(app\Models\SearchResultsModel)) #4 /var/sites/r/retrocollect.com/public_html/app/Controllers/SearchController.php(27): app\Controllers\AbstractResourceController->setView('SearchResults') #5 /var/sites/r/retrocollect.com/public_html/app/Controllers/AbstractResourceController.php(48): app\Controllers\SearchController->get() #6 /var/sites/r/retrocollect.com/pub in /var/sites/r/retrocollect.com/public_html/app/Statics/Maps.php on line 152