Warning: strlen() expects parameter 1 to be string, array given in /home/castnet/vendor/zendframework/zend-loader/src/StandardAutoloader.php on line 320

Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /home/castnet/config/autoload/database.global.php:9 Stack trace: #0 /home/castnet/vendor/zendframework/zend-config/src/Factory.php(110): include() #1 /home/castnet/vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php(365): Zend\Config\Factory::fromFile('config/autoload...') #2 /home/castnet/vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php(141): Zend\ModuleManager\Listener\ConfigListener->addConfigByPath('config/autoload...', 'glob_path') #3 [internal function]: Zend\ModuleManager\Listener\ConfigListener->onMergeConfig(Object(Zend\ModuleManager\ModuleEvent)) #4 /home/castnet/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent)) #5 /home/castnet/vendor/zendframework/zend-eventmanager/src/EventManager.php(248): Zend\EventManager\EventManager->triggerListeners('mergeConfig', Object(Zend\ModuleManager\ModuleEvent)) #6 /home/castnet in /home/castnet/config/autoload/database.global.php on line 9