Whoops, looks like something went wrong.

2/2 InvalidConfigurationException in BaseNode.php line 313: Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable

  1. in BaseNode.php line 313
  2. at BaseNode->finalize(array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'priority' => '0', 'level' => 'DEBUG', 'bubble' => true, 'app_name' => null, 'include_stacktraces' => false, 'process_psr_3_messages' => true, 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'file_permission' => null, 'filename_format' => '{filename}-{date}', 'date_format' => 'Y-m-d', 'ident' => false, 'logopts' => '1', 'facility' => 'user', 'max_files' => '0', 'activation_strategy' => null, 'stop_buffering' => true, 'passthru_level' => null, 'excluded_404s' => array(), 'accepted_levels' => array(), 'min_level' => 'DEBUG', 'max_level' => 'EMERGENCY', 'buffer_size' => '0', 'flush_on_overflow' => false, 'exchange_name' => 'log', 'message_format' => 'text', 'api_version' => null, 'channel' => null, 'bot_name' => 'Monolog', 'use_attachment' => true, 'use_short_attachment' => false, 'include_extra' => false, 'icon_emoji' => null, 'notify' => false, 'nickname' => 'Monolog', 'use_ssl' => true, 'title' => null, 'host' => null, 'port' => '514', 'index' => 'monolog', 'document_type' => 'logs', 'ignore_error' => false, 'config' => array(), 'members' => array(), 'to_email' => array(), 'content_type' => null, 'mailer' => 'mailer', 'lazy' => true, 'time' => '60', 'deduplication_level' => '400', 'store' => null, 'client_id' => null, 'auto_log_stacks' => false, 'release' => null, 'message_type' => '0', 'tags' => array(), 'nested' => false)) in PrototypedArrayNode.php line 203
  3. at PrototypedArrayNode->finalizeValue(array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))) in BaseNode.php line 303
  4. at BaseNode->finalize(array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))) in ArrayNode.php line 254
  5. at ArrayNode->finalizeValue(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')), 'use_microseconds' => true, 'channels' => array())) in BaseNode.php line 303
  6. at BaseNode->finalize(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')))) in Processor.php line 37
  7. at Processor->process(object(ArrayNode), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in Processor.php line 50
  8. at Processor->processConfiguration(object(Configuration), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in Extension.php line 99
  9. at Extension->processConfiguration(object(Configuration), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in MonologExtension.php line 49
  10. at MonologExtension->load(array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 59
  11. at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
  12. at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 104
  13. at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 598
  14. at ContainerBuilder->compile() in bootstrap.php.cache line 2754
  15. at Kernel->initializeContainer() in bootstrap.php.cache line 2529
  16. at Kernel->boot() in bootstrap.php.cache line 2560
  17. at Kernel->handle(object(Request)) in app.php line 21

1/2 ContextErrorException in Configuration.php line 654: Warning: count(): Parameter must be an array or an object that implements Countable

  1. in Configuration.php line 654
  2. at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/home/emailmat/EmailMat/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php', '654', array('v' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'priority' => '0', 'level' => 'DEBUG', 'bubble' => true, 'app_name' => null, 'include_stacktraces' => false, 'process_psr_3_messages' => true, 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'file_permission' => null, 'filename_format' => '{filename}-{date}', 'date_format' => 'Y-m-d', 'ident' => false, 'logopts' => '1', 'facility' => 'user', 'max_files' => '0', 'activation_strategy' => null, 'stop_buffering' => true, 'passthru_level' => null, 'excluded_404s' => array(), 'accepted_levels' => array(), 'min_level' => 'DEBUG', 'max_level' => 'EMERGENCY', 'buffer_size' => '0', 'flush_on_overflow' => false, 'exchange_name' => 'log', 'message_format' => 'text', 'api_version' => null, 'channel' => null, 'bot_name' => 'Monolog', 'use_attachment' => true, 'use_short_attachment' => false, 'include_extra' => false, 'icon_emoji' => null, 'notify' => false, 'nickname' => 'Monolog', 'use_ssl' => true, 'title' => null, 'host' => null, 'port' => '514', 'index' => 'monolog', 'document_type' => 'logs', 'ignore_error' => false, 'config' => array(), 'members' => array(), 'to_email' => array(), 'content_type' => null, 'mailer' => 'mailer', 'lazy' => true, 'time' => '60', 'deduplication_level' => '400', 'store' => null, 'client_id' => null, 'auto_log_stacks' => false, 'release' => null, 'message_type' => '0', 'tags' => array(), 'nested' => false)))
  3. at count('nested') in Configuration.php line 654
  4. at Configuration->Symfony\Bundle\MonologBundle\DependencyInjection\{closure}(array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'priority' => '0', 'level' => 'DEBUG', 'bubble' => true, 'app_name' => null, 'include_stacktraces' => false, 'process_psr_3_messages' => true, 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'file_permission' => null, 'filename_format' => '{filename}-{date}', 'date_format' => 'Y-m-d', 'ident' => false, 'logopts' => '1', 'facility' => 'user', 'max_files' => '0', 'activation_strategy' => null, 'stop_buffering' => true, 'passthru_level' => null, 'excluded_404s' => array(), 'accepted_levels' => array(), 'min_level' => 'DEBUG', 'max_level' => 'EMERGENCY', 'buffer_size' => '0', 'flush_on_overflow' => false, 'exchange_name' => 'log', 'message_format' => 'text', 'api_version' => null, 'channel' => null, 'bot_name' => 'Monolog', 'use_attachment' => true, 'use_short_attachment' => false, 'include_extra' => false, 'icon_emoji' => null, 'notify' => false, 'nickname' => 'Monolog', 'use_ssl' => true, 'title' => null, 'host' => null, 'port' => '514', 'index' => 'monolog', 'document_type' => 'logs', 'ignore_error' => false, 'config' => array(), 'members' => array(), 'to_email' => array(), 'content_type' => null, 'mailer' => 'mailer', 'lazy' => true, 'time' => '60', 'deduplication_level' => '400', 'store' => null, 'client_id' => null, 'auto_log_stacks' => false, 'release' => null, 'message_type' => '0', 'tags' => array(), 'nested' => false)) in ExprBuilder.php line 231
  5. at ExprBuilder::Symfony\Component\Config\Definition\Builder\{closure}(array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'priority' => '0', 'level' => 'DEBUG', 'bubble' => true, 'app_name' => null, 'include_stacktraces' => false, 'process_psr_3_messages' => true, 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'file_permission' => null, 'filename_format' => '{filename}-{date}', 'date_format' => 'Y-m-d', 'ident' => false, 'logopts' => '1', 'facility' => 'user', 'max_files' => '0', 'activation_strategy' => null, 'stop_buffering' => true, 'passthru_level' => null, 'excluded_404s' => array(), 'accepted_levels' => array(), 'min_level' => 'DEBUG', 'max_level' => 'EMERGENCY', 'buffer_size' => '0', 'flush_on_overflow' => false, 'exchange_name' => 'log', 'message_format' => 'text', 'api_version' => null, 'channel' => null, 'bot_name' => 'Monolog', 'use_attachment' => true, 'use_short_attachment' => false, 'include_extra' => false, 'icon_emoji' => null, 'notify' => false, 'nickname' => 'Monolog', 'use_ssl' => true, 'title' => null, 'host' => null, 'port' => '514', 'index' => 'monolog', 'document_type' => 'logs', 'ignore_error' => false, 'config' => array(), 'members' => array(), 'to_email' => array(), 'content_type' => null, 'mailer' => 'mailer', 'lazy' => true, 'time' => '60', 'deduplication_level' => '400', 'store' => null, 'client_id' => null, 'auto_log_stacks' => false, 'release' => null, 'message_type' => '0', 'tags' => array(), 'nested' => false)) in BaseNode.php line 309
  6. at BaseNode->finalize(array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested', 'priority' => '0', 'level' => 'DEBUG', 'bubble' => true, 'app_name' => null, 'include_stacktraces' => false, 'process_psr_3_messages' => true, 'path' => '%kernel.logs_dir%/%kernel.environment%.log', 'file_permission' => null, 'filename_format' => '{filename}-{date}', 'date_format' => 'Y-m-d', 'ident' => false, 'logopts' => '1', 'facility' => 'user', 'max_files' => '0', 'activation_strategy' => null, 'stop_buffering' => true, 'passthru_level' => null, 'excluded_404s' => array(), 'accepted_levels' => array(), 'min_level' => 'DEBUG', 'max_level' => 'EMERGENCY', 'buffer_size' => '0', 'flush_on_overflow' => false, 'exchange_name' => 'log', 'message_format' => 'text', 'api_version' => null, 'channel' => null, 'bot_name' => 'Monolog', 'use_attachment' => true, 'use_short_attachment' => false, 'include_extra' => false, 'icon_emoji' => null, 'notify' => false, 'nickname' => 'Monolog', 'use_ssl' => true, 'title' => null, 'host' => null, 'port' => '514', 'index' => 'monolog', 'document_type' => 'logs', 'ignore_error' => false, 'config' => array(), 'members' => array(), 'to_email' => array(), 'content_type' => null, 'mailer' => 'mailer', 'lazy' => true, 'time' => '60', 'deduplication_level' => '400', 'store' => null, 'client_id' => null, 'auto_log_stacks' => false, 'release' => null, 'message_type' => '0', 'tags' => array(), 'nested' => false)) in PrototypedArrayNode.php line 203
  7. at PrototypedArrayNode->finalizeValue(array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))) in BaseNode.php line 303
  8. at BaseNode->finalize(array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))) in ArrayNode.php line 254
  9. at ArrayNode->finalizeValue(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')), 'use_microseconds' => true, 'channels' => array())) in BaseNode.php line 303
  10. at BaseNode->finalize(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')))) in Processor.php line 37
  11. at Processor->process(object(ArrayNode), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in Processor.php line 50
  12. at Processor->processConfiguration(object(Configuration), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in Extension.php line 99
  13. at Extension->processConfiguration(object(Configuration), array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console'))))) in MonologExtension.php line 49
  14. at MonologExtension->load(array(array('handlers' => array('main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'stream', 'path' => '/home/emailmat/EmailMat/app/logs/prod.log', 'level' => 'debug'), 'console' => array('type' => 'console')))), object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 59
  15. at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in MergeExtensionConfigurationPass.php line 39
  16. at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in Compiler.php line 104
  17. at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php line 598
  18. at ContainerBuilder->compile() in bootstrap.php.cache line 2754
  19. at Kernel->initializeContainer() in bootstrap.php.cache line 2529
  20. at Kernel->boot() in bootstrap.php.cache line 2560
  21. at Kernel->handle(object(Request)) in app.php line 21