SELECT * FROM events   WHERE 1  AND id = ;
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool given in /var/www/vendor/toolboxcore/core/src/Dao/Dao.php on line 783

Notice: Undefined index: active in /var/www/webapp/themes/anp/modules/events/actions/eventAction.php on line 66

Fatal error: Uncaught TypeError: Argument 1 passed to ToolboxLib\Core\Action\Helpers\ViewActivityChecker::isViewAllowed() must be of the type bool, null given, called in /var/www/webapp/themes/anp/modules/events/actions/eventAction.php on line 66 and defined in /var/www/united/lib/core/action/helpers/ViewActivityChecker.php:46 Stack trace: #0 /var/www/webapp/themes/anp/modules/events/actions/eventAction.php(66): ToolboxLib\Core\Action\Helpers\ViewActivityChecker->isViewAllowed(NULL) #1 /var/www/vendor/toolboxcore/core/src/Controller/Controller.php(268): eventAction->execute() #2 /var/www/vendor/toolboxcore/core/src/Controller/Controller.php(45): ToolboxCore\Controller\Controller->loadModule('events', 'event') #3 /var/www/vendor/toolboxcore/core/src/Core.php(46): ToolboxCore\Controller\Controller->loadDefault() #4 /var/www/public_html/index.php(10): ToolboxCore\Core->__construct() #5 {main} thrown in /var/www/united/lib/core/action/helpers/ViewActivityChecker.php on line 46