New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error after PHP upgrade (8.0 or higher) #2687
Comments
Timber 1.22 doesn't work with PHP 8. |
Is there a workaround? that is the latest version of that plugin https://wordpress.org/plugins/timber-library/ so I wonder if there is a fix or alternative? Thanks! |
The only way to work with PHP8 and Timber would be to upgrade to Timber 2.0 beta. |
Timber 1.22.1 should support PHP 8.0. It was added in 1.21.0 (https://github.com/timber/timber/releases/tag/1.21.0). PHP 8.1 support was removed. The Wordpress plug-in ships Twig 1.44.7 which should have PHP 8 support too. Can you check which Twig version you have installed? |
Stale + couldn't reproduce for a site that I had still running on the plugin version. |
Hi, I am upgrading PHP on this website since we are using PHP 7.4, however, once I go to PHP 8.0+ I get a Fatal error and I see this on the error log:
WordPress 6.1.1, PHP 8.0, Timber 1.22.1
Thanks!
The text was updated successfully, but these errors were encountered: