Code:
(2/2) InvalidConfigurationException
Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable
in BaseNode.php line 338
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, '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 194
at PrototypedArrayNode->finalizeValue(array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler', '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, 'action_level' => 'WARNING', '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, '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), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))
in BaseNode.php line 328
at BaseNode->finalize(array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))
in ArrayNode.php line 242
at ArrayNode->finalizeValue(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')), 'use_microseconds' => true, 'channels' => array()))
in BaseNode.php line 328
at BaseNode->finalize(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console'))))
in Processor.php line 37
at Processor->process(object(ArrayNode), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in Processor.php line 50
at Processor->processConfiguration(object(Configuration), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in Extension.php line 102
at Extension->processConfiguration(object(Configuration), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in MonologExtension.php line 49
at MonologExtension->load(array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))), object(MergeExtensionConfigurationContainerBuilder))
in MergeExtensionConfigurationPass.php line 71
at MergeExtensionConfigurationPass->process(object(ContainerBuilder))
in MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process(object(ContainerBuilder))
in Compiler.php line 140
at Compiler->compile(object(ContainerBuilder))
in ContainerBuilder.php line 789
at ContainerBuilder->compile()
in Kernel.php line 643
at Kernel->initializeContainer()
in ContaoKernel.php line 213
at ContaoKernel->initializeContainer()
in Kernel.php line 135
at Kernel->boot()
in Kernel.php line 195
at Kernel->handle(object(Request))
in app_dev.php line 62
(1/2) ContextErrorException
Warning: count(): Parameter must be an array or an object that implements Countable
in Configuration.php line 628
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, '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 241
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, '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 334
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, '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 194
at PrototypedArrayNode->finalizeValue(array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler', '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, 'action_level' => 'WARNING', '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, '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), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))
in BaseNode.php line 328
at BaseNode->finalize(array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))
in ArrayNode.php line 242
at ArrayNode->finalizeValue(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')), 'use_microseconds' => true, 'channels' => array()))
in BaseNode.php line 328
at BaseNode->finalize(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console'))))
in Processor.php line 37
at Processor->process(object(ArrayNode), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in Processor.php line 50
at Processor->processConfiguration(object(Configuration), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in Extension.php line 102
at Extension->processConfiguration(object(Configuration), array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))))
in MonologExtension.php line 49
at MonologExtension->load(array(array('handlers' => array('contao' => array('type' => 'service', 'id' => 'contao.monolog.handler'), 'main' => array('type' => 'fingers_crossed', 'action_level' => 'error', 'handler' => 'nested'), 'nested' => array('type' => 'rotating_file', 'max_files' => 10, 'path' => 'C:\\xampp\\htdocs\\contao4\\dev-contao44\\var\\logs/dev.log', 'level' => 'info'), 'console' => array('type' => 'console')))), object(MergeExtensionConfigurationContainerBuilder))
in MergeExtensionConfigurationPass.php line 71
at MergeExtensionConfigurationPass->process(object(ContainerBuilder))
in MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process(object(ContainerBuilder))
in Compiler.php line 140
at Compiler->compile(object(ContainerBuilder))
in ContainerBuilder.php line 789
at ContainerBuilder->compile()
in Kernel.php line 643
at Kernel->initializeContainer()
in ContaoKernel.php line 213
at ContaoKernel->initializeContainer()
in Kernel.php line 135
at Kernel->boot()
in Kernel.php line 195
at Kernel->handle(object(Request))
in app_dev.php line 62
Dieser trat bei der anderen Installation nicht auf.
Lesezeichen