Archived topic
PHP Catchable fatal error
5 replies · Started by Cris on May 29, 2019
Hi,
I've got this fatal error in debug.log file:
PHP Catchable fatal error: Object of class WP_Error could not be converted to string in ***/wp-content/plugins/gp-premium/elements/class-hero.php on line 848
PHP Catchable fatal error: Object of class WP_Error could not be converted to string in ***/wp-content/plugins/gp-premium/elements/class-hero.php on line 881
What does this mean?
Hi there,
Those errors don't match what actually exists on those lines. Are you using GPP 1.8.2?
Let me know :)
Hi Tom,
I use GPP 1.8.2 currently but it is likely that on the date of that registration I had an earlier version. They are from 23-Apr-2019
So that looks like you had a template tag added to a Page Hero which was causing an error. I would need to know the template tag to know why the error was happening.
Ah okay. Then it was because it had a Smart Slider 3 label. In principle it worked fine but I moved the web to another domain and it broke down there. I re-generated the page and a new page hero with the same shortcode of smar slider 3. Then it worked fine again.
Cool - glad it's all working now :)