• Resolved jlev00

    (@jlev00)


    Hi – is someone able to help me troubleshoot why I cannot upgrade from 3.9 to 4.2?

    When I update I can no longer access the Dashboard via example.com/wp-admin/ – it gives me a “too many redirects” error. I have tried all the usual troubleshooting for this, including using a “default” htaccess file but it seems the only way to get to the dashboard now is to go to /wp-admin/index.php

    This works initially, but as soon as I upgrade the database the whole site is brought down.

    It starts with a fatal (?) error and an email to my inbox with the following error message:

    エラー詳細
    ===============
    エラータイプ E_ERROR が /home/----------------/-------/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php ファイルの 810 行目で発生しました。 エラーメッセージ: Uncaught WC_Data_Exception: 管理者メモのアクションラベルプロップは空にできません。 in /home/----------------/-------/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:810
    Stack trace:
    #0 /home/----------------/-------/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/WC_Admin_Note.php(528): WC_Data->error('admin_note_inva...', '\xE7\xAE\xA1\xE7\x90\x86\xE8\x80\x85\xE3\x83\xA1\xE3\x83\xA2...')
    #1 /home/----------------/-------/public_html/wp-content/plugins/woocommerce/includes/admin/notes/class-wc-notes-run-db-update.php(247): Automattic\WooCommerce\Admin\Notes\WC_Admin_Note->add_action('update-db_done', '', 'https://(--------some-link-----------)', 'actioned', true)
    #2 /home/----------------/-------/public_html/wp-content/plugins/woocommerce/includes/admin/notes/class-wc-notes-run-db-update.php(281): WC_Notes_Run_Db_Update::update_done_notice('6')
    #3 /home/----------------/-------/publ

    Only way to resolve at the moment is to roll back to WC 3. Would appreciate any help, any suggestions on where I should be looking to troubleshoot this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    but it seems the only way to get to the dashboard now is to go to /wp-admin/index.php

    Based on /index.php and your error message I think this looks like a path / URL rewrite or permalink problem.

    This can also happen if your custom permalink structure adds .php >> Go to Settings >> Permalink and make sure that index.php is not set in your custom structure.

    Some additional tips: https://dejanjanosevic.info/remove-index-php-permalink-in-wordpress/

    Kind regards,

    Thread Starter jlev00

    (@jlev00)

    Thanks Con. I’m still struggling to upgrade but have a few more options to try. Will let you know how I go.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Struggling to upgrade 3.9 to 4.2’ is closed to new replies.