[Resolved] PHP Catchable fatal error

Home Forums Support [Resolved] PHP Catchable fatal error

Home Forums Support PHP Catchable fatal error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #914074
    Cris

    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?

    #914502
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Those errors don’t match what actually exists on those lines. Are you using GPP 1.8.2?

    Let me know ๐Ÿ™‚

    #914517
    Cris

    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

    #914812
    Tom
    Lead Developer
    Lead Developer

    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.

    #915241
    Cris

    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.

    #915469
    Tom
    Lead Developer
    Lead Developer

    Cool – glad it’s all working now ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.