[Resolved] Fatal error upon activating Elements

Home Forums Support [Resolved] Fatal error upon activating Elements

Home Forums Support Fatal error upon activating Elements

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #649108
    _blank

    Hi,

    I have just upgraded to 1.7 and activated elements, but I received this error:
    Fatal error: Cannot re-assign $this in xxx/wp-content/plugins/gp-premium/elements/class-hero.php on line 65

    #649180
    Tom
    Lead Developer
    Lead Developer

    That’s strange – what PHP version are you running?

    #649287
    _blank

    It’s 5.3.29.

    #649289
    Tom
    Lead Developer
    Lead Developer

    That’s a very old version which is no longer supported. It can leave your site open to nasty stuff like hackers.

    I would contact your hosting and ask them to upgrade you to PHP 7. This will not only make your site more secure, but it will make it faster as well.

    Let me know πŸ™‚

    #649301
    _blank

    I’ll try, in the meantime, is there some way to disable the Elements through database? I can’t access my website πŸ™‚
    I could disable all plugins, but maybe the easier way is to disable Elements alone?

    #649306
    Tom
    Lead Developer
    Lead Developer

    You can search for generate_package_elements in the wp_options table and set it to false.

    However, it should be easier to get upgraded to PHP 7 – it should only take your hosting a minute.

    I’ll get an update out today to prevent this from happening to others.

    Thanks!

    #649314
    _blank

    Thanks Tom,

    I have just contacted my hosting. We have very personalized hosting with various-type software, and it may need in-depth testing :/

    #649317
    Tom
    Lead Developer
    Lead Developer

    Ah, I understand. Sorry for the inconvenience!

    #649333
    _blank

    No worries, I appreciate your support and generally the theme.

    #649624
    Tom
    Lead Developer
    Lead Developer

    I just released GPP 1.7.1 which fixes this on old PHP versions πŸ™‚

    #649762
    _blank

    Hey Tom, great news πŸ™‚

    I have just updated and was able to test Elements already.

    Thanks again!

    #649919
    Tom
    Lead Developer
    Lead Developer

    Awesome! Thanks for reporting this to us πŸ™‚

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