Hi,
The issue was noticed thanks to Query Monitor plugin. Using it, you will likely be able to see the PHP deprecation upon using Gutenify plugin.
It appears the issue resides in wp-content/plugins/gutenify/core/inc/class-block-inline-styles.php
that returns a null parameter to a string, which would be deprecated by PHP 8. That is my understanding as a sysadmin, I’m no PHP dev, so a direct look at the error will surely help you better understand the issue.
So here is what Query Monitor reveals:
stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated
wp-includes/functions.wp-styles.php:90
stripos()
wp-includes/functions.wp-styles.php:90
wp_add_inline_style()
wp-content/plugins/gutenify/core/inc/class-block-inline-styles.php:34
Gutenify_block_inline_styles::add_inline_styles()
wp-includes/class-wp-hook.php:324
do_action('wp_enqueue_scripts')
wp-includes/script-loader.php:2263
wp_enqueue_scripts()
wp-includes/class-wp-hook.php:324
do_action('wp_head')
wp-includes/general-template.php:3065
wp_head()
wp-includes/template-canvas.php:17
1 Extension : gutenify
I hope this is useful in some way! And I remain available if further details are required to help diagnose and resolve the issue.
Best regards
]]>Hello,
I have WordPress 6.1.1 and Gutenify FSE theme, I got the warning message when installing Gutenify blocks:
Disclaimer: This plugin has not been tested with your current version of WordPress.
when I import templates I get errors with attempts to fetch the block, do you have any block updates planned or is it better not to use them.
Thanks
]]>Hello,
This forum is not monitored on a daily basis, so for faster help, please submit your ticket at https://www.gutenify.com/support. If you encounter any issues or have any question, we will help you out. Documentation for the theme is at https://www.gutenify.com/documentations If going through the documentation does not solve your issue, feel free to add a ticket for our support team.
Thanks,
Gutenify Team