PHP 8.0 Compatibility
-
Hi,
When using this plugin with PHP 8.0 (its fine with 7.4) and WP_DEBUG and log true, I sometime get the following error (which break the site and I need to simply refresh the page):
Fatal error: Uncaught Error: str_replace(): Argument #3 ($subject) must be of type array|string, bool given in /wp-content/plugins/query-monitor/collectors/transients.php on line 84 Call stack: str_replace() wp-content/plugins/query-monitor/collectors/transients.php:84 QM_Collector_Transients::setted_transient() wp-content/plugins/query-monitor/collectors/transients.php:59 QM_Collector_Transients::action_setted_blog_transient() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-includes/option.php:1360 set_transient() wp-content/plugins/og/includes/iworks/class-iworks-opengraph.php:769 iWorks_OpenGraph::wp_head() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-includes/general-template.php:3052 wp_head() wp-content/themes/highwind-child/header.php:43 require_once() wp-includes/template.php:790 load_template() wp-includes/template.php:725 locate_template() wp-includes/general-template.php:48 get_header() wp-content/themes/highwind-child/single.php:10 include() wp-includes/template-loader.php:106 require_once() wp-blog-header.php:19 require()
Is this something to fix on query monitor side ?
Thx!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP 8.0 Compatibility’ is closed to new replies.