Update from 3.29 to 3.3 : twig error

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
^M^
Registered User
Posts: 13
Joined: Sat Jan 11, 2020 3:23 pm

Update from 3.29 to 3.3 : twig error

Post by ^M^ »

Support Request Template
What version of phpBB are you using? phpBB 3.3.0
What is your board's URL? https://casusno.fr
Who do you host your board with? Infomaniak (https://www.infomaniak.ch/)
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.2.9
What styles do you currently have installed? prosilver
What language(s) is your board currently using? British English
Which database type/version are you using? MySQL 5.7
What is your level of experience? Comfortable with settings, not with code
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Updating board to 3.3.0
Please describe your problem. Got this error when going to the file folder

Code: Select all

[phpBB Debug] "include(/home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/../twig/twig/src/TokenParser/ApplyTokenParser.php): failed to open stream: No such file or directory" in file /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/ClassLoader.php on line 444[phpBB Debug] "include(/home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/../twig/twig/src/TokenParser/ApplyTokenParser.php): failed to open stream: No such file or directory" in file /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/ClassLoader.php on line 444[phpBB Debug] "include(): Failed opening '/home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/../twig/twig/src/TokenParser/ApplyTokenParser.php' for inclusion (include_path='.:/opt/php7.2/lib/php')" in file /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/composer/ClassLoader.php on line 444
Fatal error: Uncaught Error: Class 'Twig\TokenParser\ApplyTokenParser' not found in /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/Extension/CoreExtension.php:189 Stack trace: #0 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/ExtensionSet.php(448): Twig\Extension\CoreExtension->getTokenParsers() #1 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/ExtensionSet.php(423): Twig\ExtensionSet->initExtension(Object(Twig\Extension\CoreExtension)) #2 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/ExtensionSet.php(397): Twig\ExtensionSet->initExtensions() #3 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/Environment.php(966): Twig\ExtensionSet->getUnaryOperators() #4 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/Lexer.php(459): Twig\Environment->getUnaryOperators() #5 /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/Lexer in /home/clients/13eaf4559a54d78787520f07cab62616/web/casus/vendor/twig/twig/src/Extension/CoreExtension.php on line 189
I followed the 3.2 to 3.3 install guide, deleting old files (except config, ext, file and store)
When looking at the folders, the twig files are present
Currently on PHP 7.2
^M^
Registered User
Posts: 13
Joined: Sat Jan 11, 2020 3:23 pm

Re: Update from 3.29 to 3.3 : twig error

Post by ^M^ »

Found the issues the file existed but was corrupted during the transfer.

Sorry for the inconvenience

Return to “[3.3.x] Support Forum”