HI,
I am on 7.2 php version, I have would like to switch to 7.3 (recommanded by my web Host) but because of some incompatibilities with phpBB3 I switch to 7.2
My PHP version did not change since I update phpBB3, and the Board3 did no have errors before this update
Edit: Try to switch to php 7.3, same errors:
News module:
Code: Select all
Fatal error: Uncaught Error: Call to undefined method board3\portal\portal\fetch_posts::add_lang() in /htdocs/mywebsite.com/forum/ext/board3/portal/modules/news.php:122 Stack trace: #0 /htdocs/mywebsite.com/forum/ext/board3/portal/controller/main.php(255): board3\portal\modules\news->get_template_center('28') #1 /htdocs/mywebsite.com/forum/ext/board3/portal/controller/main.php(183): board3\portal\controller\main->get_module_template(Array, Object(board3\portal\modules\news)) #2 /htdocs/mywebsite.com/forum/vendor/symfony/http-kernel/HttpKernel.php(151): board3\portal\controller\main->handle(Array) #3 /htdocs/mywebsite.com/forum/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(phpbb\symfony_request), 1) #4 /htdocs/mywebsite.com/forum/app.php(35): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request)) #5 {main} thrown in /htdocs/mywebsite.com/forum/ext/board3/portal/modules/news.php on line 122
Line 122
Code: Select all
$this->user->add_lang('viewforum');
EDIT 2:
I omit to tell that at the begining just after the phpBB update I got this error in ACP
Code: Select all
phpBB a rencontré une erreur lors de la construction du conteneur en raison d’une extension installée. Pour cette raison, toutes les extensions ont été temporairement désactivées. Elles seront automatiquement réactivées dès que l’erreur de conteneur sera résolue. Pour cela, commencez par purger le cache de votre forum. Si cette erreur persiste, veuillez visiter le forum de support phpBB.com (en anglais) ou le forum de support phpBB-fr.com (en français).
Exception : The file "/htdocs/mywebsite.com/forum/ext/board3/portal/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 12 (near "- @board3.portal.columns").
#0 /htdocs/mywebsite.com/forum/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/htdocs/team-bo...')
#1 /htdocs/mywebsite.com/forum/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /htdocs/mywebsite.com/forum/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /htdocs/mywebsite.com/forum/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /htdocs/mywebsite.com/forum/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /htdocs/mywebsite.com/forum/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /htdocs/mywebsite.com/forum/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /htdocs/mywebsite.com/forum/phpbb/di/container_builder.php(203): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /htdocs/mywebsite.com/forum/common.php(115): phpbb\di\container_builder->get_container()
#9 /htdocs/mywebsite.com/forum/adm/index.php(23): require('/htdocs/team-bo...')
#10 {main}
I fix it by removing the @ like specified in the error message.