Error upgrading to 3.2.1

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
ftsservice
Registered User
Posts: 5
Joined: Sun Jul 16, 2017 11:39 pm

Error upgrading to 3.2.1

Post by ftsservice »

Upgrade process seemed to go fine, but neither the forum nor the admin panel work now.

I get this in php_errors.log:
[16-Jul-2017 23:34:27 UTC] PHP Recoverable fatal error: Object of class Twig_Source could not be converted to string in /var/www/htdocs/phpbb/template/twig/lexer.php on line 147
Last edited by DavidIQ on Mon Jul 17, 2017 1:17 am, edited 1 time in total.
Reason: Moved from release announcement discussion topic since we asked support requests not be posted
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10477
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Error upgrading to 3.2.1

Post by Noxwizard »

How did you update? Did you delete the vendor folder or just let the files be overwritten? You need to delete the vendor folder and upload the new copy of it.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 94
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

Re: Error upgrading to 3.2.1

Post by rubencm »

Remove the old vendor folder, and replace it by the new one.
User avatar
Aurelienazerty
Registered User
Posts: 211
Joined: Sat Jan 08, 2005 8:21 pm
Contact:

Re: Error upgrading to 3.2.1

Post by Aurelienazerty »

Same problem, but remove the vendor folder doesn't change anything :'(
rxu
Extensions Development Team
Posts: 3601
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Error upgrading to 3.2.1

Post by rxu »

What is the upgrade way?
Grzegorz.Janoszka
Registered User
Posts: 13
Joined: Mon Jul 17, 2017 2:14 pm

Re: Error upgrading to 3.2.1

Post by Grzegorz.Janoszka »

I have the same problem. Removed vendor and cache, uploaded new vendor and install and I still have:

PHP message: PHP Catchable fatal error: Object of class Twig_Source could not be converted to string in /var/www/forum/phpbb/template/twig/lexer.php on line 147

I use PHP 7.0 on Debian 9.0.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52533
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Error upgrading to 3.2.1

Post by stevemaury »

Please stay in your own topic here - viewtopic.php?f=556&t=2431111
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
ftsservice
Registered User
Posts: 5
Joined: Sun Jul 16, 2017 11:39 pm

Re: Error upgrading to 3.2.1

Post by ftsservice »

Noxwizard wrote:
Mon Jul 17, 2017 2:25 am
How did you update? Did you delete the vendor folder or just let the files be overwritten? You need to delete the vendor folder and upload the new copy of it.
First a note: the upgrade instructions in the admin panel do not say to delete them first, it simply says to copy those directories from the upgrade package.

As to your suggestion:
I pulled a copy of the site from my backups, deleted the vendor folder then copied it and the install directory from the upgrade package. I also cleared out the cache directory. Ran the update again.... same error as before.
rxu
Extensions Development Team
Posts: 3601
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Error upgrading to 3.2.1

Post by rxu »

You can succeed updating with the full package docs/INSTALL.html#update_full
ftsservice
Registered User
Posts: 5
Joined: Sun Jul 16, 2017 11:39 pm

Re: Error upgrading to 3.2.1

Post by ftsservice »

rxu wrote:
Mon Jul 17, 2017 3:59 pm
You can succeed updating with the full package docs/INSTALL.html#update_full
This worked, after deleting the contents of the cache directory. Thank you.
Post Reply

Return to “[3.2.x] Support Forum”