Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/ranzha/fmc-americas.cubing.net/App/Pdo/PdoConnection.php:64
Stack trace:
#0 /home/ranzha/fmc-americas.cubing.net/App/Pdo/PdoConnection.php(64): count(NULL)
#1 /home/ranzha/fmc-americas.cubing.net/App/Pdo/PdoConnection.php(48): App\Pdo\PdoConnection->query('SET NAMES utf8')
#2 /home/ranzha/fmc-americas.cubing.net/App/Pdo/PdoConnection.php(54): App\Pdo\PdoConnection->open()
#3 /home/ranzha/fmc-americas.cubing.net/Efmc/Repo/RepoLocations.php(19): App\Pdo\PdoConnection->query('SELECT * FROM l...', Array)
#4 /home/ranzha/fmc-americas.cubing.net/Efmc/Repo/RepoLocations.php(65): Efmc\Repo\RepoLocations->getLocationsByYear('2018')
#5 /home/ranzha/fmc-americas.cubing.net/Efmc/EfmcApplication.php(80): Efmc\Repo\RepoLocations->listLocations(Object(Efmc\View\Page\LocationsPageView))
#6 [internal function]: Efmc\EfmcApplication->actionLocations()
#7 /home/ranzha/fmc-americas.cubing.net/App/Application.php(245): call_user_func_array(Array, Array)
#8 /home/ranzha/fmc-americas.cubing.net/Web/index.php(18): App\Application->run()
#9 {main}
thrown in /home/ranzha/fmc-americas.cubing.net/App/Pdo/PdoConnection.php on line 64