Plugin Author
Chouby
(@chouby)
Helo,
Could you check for a conflict?
Here is the line firing the notice: https://github.com/polylang/polylang/blob/3.2.5/admin/admin-static-pages.php#L55
This line is part of a function hooked to the filter use_block_editor_for_post. See https://github.com/polylang/polylang/blob/3.2.5/admin/admin-static-pages.php#L30
This filter is coming from WordPress which passes a WP_Post object as shown in https://github.com/WordPress/WordPress/blob/6.0.2/wp-admin/includes/post.php#L2175
If we get something else than a WP_Post in our function, I suppose that this could come from a 3rd party. This should also fire the same notice at https://github.com/WordPress/WordPress/blob/6.0.2/wp-admin/includes/post.php#L2165
@chouby: Yes, after disabling plugins and testing I found out that the “PublishPress Revisions Pro” caused the PHP Notice.