您好我已安装PHPBB3
,我试图拒登帖子,但我收到了错误
致命错误:未捕获的异常 '的Symfony \元器件\ DependencyInjection \异常\ InvalidArgumentException' 消息'服务定义 “phpbb.report.report_reason_list_provider”不存在。在 /var/www/html/ddugky/forum/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php:871 堆栈跟踪:0 /var/www/html/ddugky/forum/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php(478): 的Symfony \组件\ DependencyInjection \ ContainerBuilder-> getDefinition方法( 'phpbb.report.re ...') 1 /var/www/html/ddugky/forum/includes/mcp/mcp_queue.php(1245):Symfony \ Component \ DependencyInjection \ ContainerBuilder-> get('phpbb.report.re ...') 2 /var/www/html/ddugky/forum/includes/mcp/mcp_queue.php(122):mcp_queue :: disapprove_posts(Array,'queue','unapproved_post ...')#3 /var/www/html/ddugky/forum/includes/functions_module.php(674): mcp_queue-> main('queue','unapproved_post ...')#4 /var/www/html/ddugky/forum/mcp.php(311):p_master-> load_active()#5 {main} in /var/www/html/ddugky/forum/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php 在第871行
我发现了原因,因为phpbb
不包含报告文件夹,现在我再次创建了报告文件夹及其内容,同时显示错误
任何人都可以请帮助