Fatal error: Uncaught Error: Call to a member function getCode() on null in /home/treatmen/application/src/View/Filter.php:192 Stack trace: #0 /home/treatmen/application/src/View/Filter.php(262): View\Filter->makeFilterSql(Array, NULL, NULL, Array) #1 /home/treatmen/application/main.php(70): View\Filter->process() #2 /home/treatmen/application/main.php(87): main() #3 /home/treatmen/public_html/index.php(23): require('/home/treatmen/...') #4 {main} thrown in /home/treatmen/application/src/View/Filter.php on line 192