Support » Plugin: WooCommerce » Update to 4.0.0 crashed my site

  • Resolved tedmetz

    (@tedmetz)


    upgrading to 4.0.0 proved there were multiple conflicts with other plugins causing numerous fatal errors that shut down my site and blocked access to the WP dashboard. Only fix was a restore form backups. There were several different error messages but the final was this:

    Notice: Trying to get property ‘template_url’ of non-object in /home/c25fth6g6qsf/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-settings-general.php on line 28

    Notice: Trying to get property ‘template_url’ of non-object in /home/c25fth6g6qsf/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-settings-general.php on line 268

    Fatal error: Uncaught Error: Call to undefined function WPO\WC\PDF_Invoices\Documents\wc_get_order_statuses() in /home/c25fth6g6qsf/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php:204 Stack trace: #0 /home/c25fth6g6qsf/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-settings-documents.php(20): WPO\WC\PDF_Invoices\Documents\Invoice->init_settings() #1 /home/c25fth6g6qsf/public_html/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Settings_Documents->init_settings(”) #2 /home/c25fth6g6qsf/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /home/c25fth6g6qsf/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/c25fth6g6qsf/public_html/wp-admin/admin.php(170): do_action(‘admin_init’) #5 /home/c25fth6g6qsf/public_html/wp-admin/index.php(10): require_once(‘/home/c25fth6g6…’) #6 {main} thrown in /home/c25fth6g6qsf/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php on line 204
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    I’m not fond of the new Analytics section. WOO locked up the site while importing years of sales data as if the DB upgrade corrupted the data.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author peterfabian1000

    (@peterfabian1000)

    Hi @tedmetz ,

    Thanks for sharing the error log with us and apologies for the problems. According to the log, it seems the problem is coming from plugin WooCommerce PDF Invoices & Packing Slips. Can you please try to disable it and see if it helps? Thanks!

    Thread Starter tedmetz

    (@tedmetz)

    Thank you for responding @peterfabian1000. There were multiple errors/conflicts with Ultimate Member, MyCred, Customer/Order/Coupon Export. The code posted above was the only page I could capture before the site was totally locked. I/O and processor resources spiked beyond resource limits.

    I’d be glad to email you the system status report.

    I will wait for other vendors to update their plugins and the next version of WooCommerce before updating.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    If you are still having issues when you go to update again, please let us know.

    Thanks!

    woocommerce has crashed my site again. working with hosting site, but they can’t resolve it. Have restored a backup, installed a plugin to NOT update plugins, had my site working two days ago, and I see it has crashed again. Can’t access wp dashboard to obtain crash reports. UGH.

    Fatal error: Uncaught Exception: Invalid data store. in /home/loving49/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:107
    Stack trace:
    #0 /home/loving49/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(139): WC_Data_Store->__construct(‘admin’)
    #1 /home/loving49/public_html/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes.php(121): WC_Data_Store::load(‘admin-note’)
    #2 /home/loving49/public_html/wp-content/plugins/woocommerce-admin/src/Notes/WC_Admin_Notes_Deactivate_Plugin.php(59): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes::delete_notes_with_name(‘wc-admin-deacti…’)
    #3 /home/loving49/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Package.php(60): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Deactivate_Plugin::delete_note()
    #4 [internal function]: Automattic\WooCommerce\Admin\Composer\Package::init()
    #5 /home/loving49/public_html/wp-content/plugins/woocommerce/src/Packages.php(72): call_user_func(Array)
    #6 /home/lo in /home/loving49/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php on line 107
    Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.

    I am having the same issue as well, while you do not have an issue when you update the woocommerce plugin, you get a 500 internal server error or an error 521 server down when you update the database.
    I have tried it on my testing website (after I stupidly updated the plugin on my main website) and it keeps crushing.

    • This reply was modified 1 year, 2 months ago by johndos.

    I have disabled the woocommerce admin and I don’t seem I can replicate the 521 error.
    Andrew if you want I can send you a copy of the error.log

    • This reply was modified 1 year, 2 months ago by johndos.
    • This reply was modified 1 year, 2 months ago by johndos.
    • This reply was modified 1 year, 2 months ago by johndos.

    H

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Update to 4.0.0 crashed my site’ is closed to new replies.