PHP Fatal error: bject of class WP_Error could not be converted to string
-
We are using Smart Crawl with Hello-Elementor Theme.
Sometimes I see such errors in our logs:
[15-Jun-2020 07:46:23 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /wordpress/wp-includes/formatting.php:1117 Stack trace: #0 /wordpress/wp-includes/formatting.php(4499): wp_check_invalid_utf8() #1 /wordpress/wp-content/plugins/smartcrawl-wordpress-seo/includes/tools/onpage.php(258): esc_attr() #2 /wordpress/wp-content/plugins/smartcrawl-wordpress-seo/includes/tools/onpage.php(158): Smartcrawl_OnPage->smartcrawl_canonical() #3 /wordpress/wp-includes/class-wp-hook.php(287): Smartcrawl_OnPage->smartcrawl_head() #4 /wordpress/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #5 /wordpress/wp-includes/plugin.php(478): WP_Hook->do_action() #6 /wordpress/wp-includes/general-template.php(2884): do_action() #7 /wordpress/wp-content/themes/hello-elementor/header.php(21): wp_head() #8 /wordpress/wp-includes/template.php(723): require_once('/var/www/wireca...') #9 /wordpress/wp-includes/template.php(672): load_template() #10 /wordpress/wp-includes/general-template.php(41): locate_template() #11 /wordpress/wp-content/themes/hello-elementor/index.php(15): get_header() #12 /wordpress/wp-includes/template-loader.php(106): include('/var/www/wireca...') #13 /wordpress/wp-blog-header.php(19): require_once('/var/www/wireca...') #14 /wordpress/index.php(17): require('/var/www/wireca...') #15 {main} thrown in /wordpress/wp-includes/formatting.php on line 1117
Could you please look on it?
P.S. We are using version 2.6.0.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP Fatal error: bject of class WP_Error could not be converted to string’ is closed to new replies.