Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17393

Unable to ugrade from phpBB 3.3.10 to 3.3.13 - Fatal error: Uncaught TypeError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Hi,

      I've followed the instructions for upgrading my phpBB 3.3.10 installation to phpBB 3.3.13 making sure to have deleted the config.php, and the /images, /store and /files folders from the package directory.

      I've then copied the contents of the package directory over the top of my phpBB3 installation directory.

      When I browse to the install directory the following error is seen:

      Fatal error: Uncaught TypeError: phpbb\install\controller\installer_index::_construct(): Argument #3 ($path_helper) must be of type phpbb\path_helper, phpbb\template\twig\twig given in /var/www/sites/my_site/html/forum/phpbb/install/controller/installer_index.php:52 Stack trace: #0 [internal function]: phpbb\install\controller\installer_index->_construct(Object(phpbb\install\controller\helper), Object(phpbb\language\language), Object(phpbb\template\twig\twig), '../') #1 /var/www/sites/my_site/html/forum/vendor/symfony/dependency-injection/ContainerBuilder.php(1176): ReflectionClass->newInstanceArgs(Array) #2 /var/www/sites/my_site/html/forum/vendor/symfony/dependency-injection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'phpbb.installer...') #3 /var/www/sites/my_site/html/forum/vendor/symfony/dependency-injection/ContainerBuilder.php(588): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('phpbb.installer...', 1) #4 /var/www/sites/my_site/html/forum/phpbb/controller/resolver.php(93): Symfony\Component\DependencyInjection\ContainerBuilder->get('phpbb.installer...') #5 /var/www/sites/my_site/html/forum/vendor/symfony/http-kernel/HttpKernel.php(134): phpbb\controller\resolver->getController(Object(phpbb\symfony_request)) #6 /var/www/sites/my_site/html/forum/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(phpbb\symfony_request), 1) #7 /var/www/sites/my_site/html/forum/install/app.php(61): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request)) #8 {main} thrown in /var/www/sites/my_site/html/forum/phpbb/install/controller/installer_index.php on line 52

       

      I've also tried deleting the contents of the cache directory but to no avail.

            Unassigned Unassigned
            Neil_M Neil_M [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: