• I am seeing this PHP error in my logs:

    Class ‘OceanWP_EDD_Addon_Migration’ not found in public_html/wp-content/plugins/ocean-modal-window/ocean-modal-window.php

    I think it’s happening when wp-cron.php is running.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter therealgilles

    (@chamois_blanc)

    Same problem with Ocean Sticky Header and Ocean Woo Popup.

    Thread Starter therealgilles

    (@chamois_blanc)

    I see wp-content/plugins/ocean-extra/includes/client-migration/edd.php has the following near the top:

        if ( defined( 'DOING_CRON' ) ) {
            return;
        }

    so OceanWP_EDD_Addon_Migration will not be loaded when wp-cron.php runs.

    Plugin Author Amit Singh

    (@apprimit)

    Hello,

    Sorry for the trouble. We are working on it to fix the issue.

    Getting error on home page karockstar.com

    Fatal error: Can’t use method return value in write context in
    /public_html/wp-content/plugins/ocean-extra/includes/client-migration/edd.php on line 470

    Having the same issue as the thread starter… definitely happening when cron is running and possible issues with certain operations dependant on cron since this started. Waiting for a resolution from oceanwp.

    this issue makes Scheduled Actions unable to run! which is a huge problem!
    waiting for the fix!

    Yeah I can confirm as well, all scheduled actions, upsell funnel closures etc etc do not work at the moment. Waiting for the fix, hopefully soon.

    Thread Starter therealgilles

    (@chamois_blanc)

    If you have access to the plugin code, you can add the DOING_CRON if statement below at the top of the files:

    if ( ! defined( 'ABSPATH' ) ) {
      exit;
    }
    
    if ( defined( 'DOING_CRON' ) ) { // do not load when running cron
      return;
    }

    For instance, this would go in:
    ? wp-content/plugins/ocean-sticky-header/ocean-sticky-header.php
    ? wp-content/plugins/ocean-modal-window/ocean-modal-window.php
    ? wp-content/plugins/ocean-woo-popup/ocean-woo-popup.php

    Hope this helps until the OceanWP fixes the issue. I saw an update to Ocean Extra, not sure if it addresses the problem. Most plugins don’t need to be loaded when running cron anyway.

    • This reply was modified 5 years, 3 months ago by therealgilles.

    @chamois_blanc this definitely works as a fix, no issues it seems after implementation, thanks. Hopefully, ocean fixes this soon…

    Plugin Author Amit Singh

    (@apprimit)

    Hello,

    We just released a new version with a patch that should fix the cron jobs issue.
    Could you please update Ocean Extra to 1.5.15 and let us know if the issue was resolved?

    Thank you

    Hi,

    I try to go on my website (fr.phoenixco.ca) or wp-admin and get the following message:

    /home/phoenixco/fr.phoenixco.ca/wp-content/plugins/ocean-extra/includes/client-migration/edd.php on line 470

    anyone know why this may be and how can I fix it?

    Plugin Author Amit Singh

    (@apprimit)

    @vixgalo I replied to your original thread. Please check that.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘PHP error’ is closed to new replies.