Skip to content

I have thousands of lines of Flynt Deprecated error messages if I enable debug mode #524

Discussion options

You must be logged in to vote

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:

"require": {
"flyntwp/acf-field-group-composer": "^1.0.3",
"timber/timber": "^2.0"
},

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

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@giorgitchanturidze
Comment options

@giorgitchanturidze
Comment options

@aaronmeder
Comment options

@giorgitchanturidze
Comment options

Answer selected by giorgitchanturidze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants