• Resolved ArcticFritid

    (@metuza)


    Hello,

    When i updated to latest version 9.3.2 my site went down in frontend, i could not find anything in my error-logs but when checking plugins they where all deactivated. I reactivated all plugins except from Plugin Organizer and site went back to normal. Then i activated Plugin Organizer and site went down again, still nothing in my error-logs.

    I then had to deactivate and re-activate all plugins again to get the site back up again.

    I had no issues with v9.3.1

    Brgds
    Rune

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • yea im getting the same issue except it works fine for 9.3 but starts deactivating plugins in 9.3.1

    in fact it seems to be happening on 9.3 too fine on 9.2.6

    update: so having downgraded back to 9.2.6 its happening too – im super confused now, is there something special you need to do when updating/downgrading

    • This reply was modified 8 years, 5 months ago by steveokk.
    • This reply was modified 8 years, 5 months ago by steveokk.
    • This reply was modified 8 years, 5 months ago by steveokk.
    Plugin Author Jeff Sterup

    (@foomagoo)

    I’ve released version 9.3.3. It prevents the recreate_plugin_order function from saving the active_plugins array if there are less plugins in it than when it was called. That will prevent it from deactivating plugins if that is what is causing it. I also added a filter call that removes the active_plugins filters before any code from the active plugins is called to prevent them from getting a bad active_plugins array and saving it. Which could also deactivate plugins inadvertently.

    Thread Starter ArcticFritid

    (@metuza)

    Thank you for the update but still fatal errors each time i trye to activate plugin – and then i need to deactivate/re-activate all plugins to get site back up.

    But this time i could find the error in my log:

    [05-Dec-2017 08:52:22 UTC] PHP Fatal error: Cannot redeclare is_order_received_page() (previously declared in /wp-content/plugins/woocommerce/includes/wc-conditional-functions.php:196) in /wp-content/plugins/woocommerce-gateway-klarna/woocommerce-gateway-klarna.php on line 435
    [05-Dec-2017 08:52:22 UTC] PHP Notice: WC_Log_Handler_File::get_log_file_path was called incorrectly. Denne metoden bør ikke kalles før plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->should_rotate, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /wp-includes/functions.php on line 4146
    [05-Dec-2017 08:52:22 UTC] PHP Notice: WC_Log_Handler_File::get_log_file_path was called incorrectly. Denne metoden bør ikke kalles før plugins_loaded. Backtrace: WooCommerce->log_errors, WC_Logger->critical, WC_Logger->log, WC_Log_Handler_File->handle, WC_Log_Handler_File->add, WC_Log_Handler_File->open, WC_Log_Handler_File::get_log_file_path, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /wp-includes/functions.php on line 4146

    Thanks
    Rune

    Plugin Author Jeff Sterup

    (@foomagoo)

    You need to change the load order of the plugins. The Klarna Gateway plugin doesn’t check to see if the is_order_received_page function is already declared and then tries to redeclare it. If you set that plugin to load before Woocommerce it will stop throwing that error.

    Thread Starter ArcticFritid

    (@metuza)

    Thanks a lot – that did the trick 🙂

    Brgds
    Rune

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

The topic ‘Version 9.3.2 deaktivated all plugins’ is closed to new replies.