• I should not take the update, it’s second time oceanwp updates break my site.

    [10-Sep-2021 09:56:20 UTC] PHP Fatal error: Uncaught Error: Undefined constant “OCEANWP_WOOCOMMERCE_ACTIVE” in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php:1199
    Stack trace:
    #0 /home/data/public_html/wp-includes/class-wp-hook.php(303): Ocean_Extra_Scripts_Panel::enqueue_scripts(”)
    #1 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/data/public_html/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’)
    #4 /home/data/public_html/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”)
    #5 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/data/public_html/wp-includes/general-template.php(3015): do_action(‘wp_head’)
    #8 /home/data/public_html/wp-includes/template-canvas.php(18): wp_head()
    #9 /home/data/public_html/wp-includes/template-loader.php(106): include(‘/home/data/…’)
    #10 /home/data/public_html/wp-blog-header.php(19): require_once(‘/home/data/…’)
    #11 /home/data/public_html/index.php(17): require(‘/home/data/…’)
    #12 {main}
    thrown in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php on line 1199
    [10-Sep-2021 03:56:49 America/Boise] PHP Warning: Constant WP_CACHE already defined in /home/data/public_html/wp-config.php on line 7
    [10-Sep-2021 09:56:49 UTC] PHP Fatal error: Uncaught Error: Undefined constant “OCEANWP_WOOCOMMERCE_ACTIVE” in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php:1199
    Stack trace:
    #0 /home/data/public_html/wp-includes/class-wp-hook.php(303): Ocean_Extra_Scripts_Panel::enqueue_scripts(”)
    #1 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/data/public_html/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’)
    #4 /home/data/public_html/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”)
    #5 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/data/public_html/wp-includes/general-template.php(3015): do_action(‘wp_head’)
    #8 /home/data/public_html/wp-includes/template-canvas.php(18): wp_head()
    #9 /home/data/public_html/wp-includes/template-loader.php(106): include(‘/home/data/…’)
    #10 /home/data/public_html/wp-blog-header.php(19): require_once(‘/home/data/…’)
    #11 /home/data/public_html/index.php(17): require(‘/home/data/…’)
    #12 {main}
    thrown in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php on line 1199
    [10-Sep-2021 03:59:08 America/Boise] PHP Warning: Constant WP_CACHE already defined in /home/data/public_html/wp-config.php on line 7
    [10-Sep-2021 03:59:09 America/Boise] PHP Warning: Constant WP_CACHE already defined in /home/data/public_html/wp-config.php on line 7
    [10-Sep-2021 09:59:10 UTC] PHP Fatal error: Uncaught Error: Undefined constant “OCEANWP_WOOCOMMERCE_ACTIVE” in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php:1199
    Stack trace:
    #0 /home/data/public_html/wp-includes/class-wp-hook.php(303): Ocean_Extra_Scripts_Panel::enqueue_scripts(”)
    #1 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/data/public_html/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’)
    #4 /home/data/public_html/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”)
    #5 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/data/public_html/wp-includes/general-template.php(3015): do_action(‘wp_head’)
    #8 /home/data/public_html/wp-includes/template-canvas.php(18): wp_head()
    #9 /home/data/public_html/wp-includes/template-loader.php(106): include(‘/home/data/…’)
    #10 /home/data/public_html/wp-blog-header.php(19): require_once(‘/home/data/…’)
    #11 /home/data/public_html/index.php(17): require(‘/home/data/…’)
    #12 {main}
    thrown in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php on line 1199
    [10-Sep-2021 03:59:13 America/Boise] PHP Warning: Constant WP_CACHE already defined in /home/data/public_html/wp-config.php on line 7
    [10-Sep-2021 09:59:14 UTC] PHP Fatal error: Uncaught Error: Undefined constant “OCEANWP_WOOCOMMERCE_ACTIVE” in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php:1199
    Stack trace:
    #0 /home/data/public_html/wp-includes/class-wp-hook.php(303): Ocean_Extra_Scripts_Panel::enqueue_scripts(”)
    #1 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/data/public_html/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’)
    #4 /home/data/public_html/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”)
    #5 /home/data/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/data/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/data/public_html/wp-includes/general-template.php(3015): do_action(‘wp_head’)
    #8 /home/data/public_html/wp-includes/template-canvas.php(18): wp_head()
    #9 /home/data/public_html/wp-includes/template-loader.php(106): include(‘/home/data/…’)
    #10 /home/data/public_html/wp-blog-header.php(19): require_once(‘/home/data/…’)
    #11 /home/data/public_html/index.php(17): require(‘/home/data/…’)
    #12 {main}
    thrown in /home/data/public_html/wp-content/plugins/ocean-extra/includes/panel/scripts.php on line 1199

    • This topic was modified 2 years, 11 months ago by netesh.
Viewing 1 replies (of 1 total)
  • Hello @netesh,

    I’m sorry to hear that happened.

    Regarding the fatal error, please follow the steps explained in this link: https://wordpress.org/support/article/faq-troubleshooting/.

    It’s possible that the updating of the plugin was incomplete on your website, and the maintenance mode has broken, then you see the fatal error message while the update isn’t complete.

    I have a few questions about this; please let me know about:

    • Did you have any customization in the codes on your websites?
    • Which PHP version you’re currently using?
    • Can you please provide some info on the plugins you have?

    Please keep us posted,
    Best Regards

    • This reply was modified 2 years, 11 months ago by Shahin.
Viewing 1 replies (of 1 total)
  • The topic ‘After Taking Update I can see Error in my log, It’s breaking my website’ is closed to new replies.