I have thousands of lines of Flynt Deprecated error messages if I enable debug mode #524
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could it be that you are using PHP 8.2? If you are using the current 2.0 release of Flynt then it should be possible to use PHP 8.2. "require": {
"flyntwp/acf-field-group-composer": "^1.0.3",
"timber/timber": "^2.0"
}, and do a This seems to resolve most of the errors for me (while you might possibly still get deprecation notices from other WP plugins). I haven't tried to work with the older Flynt 1.4 based setup on PHP 8.2, since that is using the Timber v1 branch, but it surely works with PHP 8.1 if you have the latest timber/timber v1.23. Aaron |
Beta Was this translation helpful? Give feedback.
Hey @giorgitchanturidze
Could it be that you are using PHP 8.2?
I'm getting some of the same errors when I switch to it from PHP 8.1.
If you are using the current 2.0 release of Flynt then it should be possible to use PHP 8.2.
Check that your composer.json has:
and do a
composer update
.This seems to resolve most of the errors for me (while you might possibly still get deprecation notices from other WP plugins).
I haven't tried to work with the older Flynt 1.4 based setup on PHP 8.2, since that is using the Timber v1 branch, but it surely works with PHP 8.1 if you have the latest timber/timber v1.23.
Aaron