• Resolved codysavage3

    (@codysavage3)


    I recently updated the plugin for my wife’s photography and videography site that I built and encountered this error. Would love some help on this. I will temporarily disable the plugin so the website still runs for the time being.

    Fatal error: Using $this when not in object context in /home4/lsavage3/public_html/wp-content/plugins/ocean-extra/ocean-extra.php on line 480

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Amit Singh

    (@apprimit)

    Hello,

    Please try to update the plugin to the latest version. Can you please tell me PHP version of your site? Try to update it if it is not PHP7.

    Thread Starter codysavage3

    (@codysavage3)

    I have updated the plugin to the latest version, which appears to be v1.5.2

    My website is currently running PHP 5.6.30

    Thread Starter codysavage3

    (@codysavage3)

    Looks like the update to PHP 7 did the trick.

    Thanks

    I’m having the same error but I’m on PHP 5.6.38, cannot change to php 7 yet. Need to resolve it ASAP!

    Plugin Author Amit Singh

    (@apprimit)

    @cre8gr you must update the PHP version to run the OceanWP theme.

    Well Ocean Extra 1.5.0 runs fine with php 5.6, so does the latest updated theme itself. Apparently Ocean Extra 1.5.2 needs php 7 (?).

    At the Ocean WP site there’s nowhere a reference for minimum requirements of php 7. Anyway I can’t update yet, and from what I can tell it’s Ocean’s Extra issue and not OceanWP theme.

    Any date for the fix?

    To update, if anyone has PHP 5.6 then at line 401 of the ocean-extra.php file change the following:

    public static function meta_tags() {

    to:

    public function meta_tags() {

    Just remove the static. It then works OK.

    This plugin update gave me the White Screen of Death. Had to deactivate.
    I am not a coder so can’t mess with code. Hopefully this gets fixed soon.

    It’s the Oceans “Extra plugin” that is causing the white screen. Version 1.5.2

    Plugin Author Amit Singh

    (@apprimit)

    @stratosphere try to update the PHP version and increase the memory limit to 256M – check it fixes the issue or not.

    @cre8gr OceanWP theme is designed to work well with the latest version of PHP 7 which fast and secure than its older version. You should update the PHP version or use a good host which offers the latest version of PHP.

    hi amit

    i want to thank you so much i update PHP version 7 after this i test my site problem finish

    Plugin Author Amit Singh

    (@apprimit)

    You’re welcome!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Fatal Error with Update 1.5.2’ is closed to new replies.