ResolvedFatal error – Woocommerce 4.0

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #21787

    Hello,
    2 days ago I updated theme to v.1.3.1 and, after that, WooCommerce 4.0.
    There was an error with revslider plugin:

    “2020-03-17T19:16:46+00:00 CRITICAL Uncaught Error: Call to undefined method RevSliderFunctions::get_addition() in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/revslider/admin/views/modals-copyright.php:15
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/revslider/admin/includes/shortcode_generator/shortcode_generator.class.php(242): require_once()
    #1 /home/customer/www/via-lactea.es/public_html/wp-includes/class-wp-hook.php(288): RevSliderShortcodeWizard::enqueue_files(”)
    #2 /home/customer/www/via-lactea.es/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/customer/www/via-lactea.es/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/customer/www/via-lactea.es/public_html/wp-admin/admin-footer.php(78): do_action(‘admin_footer’, ”)
    #5 /home/customer/www/via-lactea.es/public_html/wp-admin/admin.php(290): include(‘/home/customer/…’)
    #6 /home/customer/www/via-lactea.es/public_html/wp-admin/themes.php(10): require_once(‘/home/cus en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/revslider/admin/views/modals-copyright.php en la línea 15″

    I restored a backup to come back to previous Woocommerce version.
    And after that, I updated again Woocommerce to v4.0 and now I have 4 new fatal errors:

    “2020-03-19T08:12:38+00:00 CRITICAL Uncaught InvalidArgumentException: ID de acción no válida. No se encontró ningún estado. in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:740
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(326): ActionScheduler_wpPostStore->get_status(‘1’)
    #1 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ListTable.php(533): ActionScheduler_HybridStore->get_status(‘1’)
    #2 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php(659): ActionScheduler_ListTable->prepare_items()
    #3 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AdminView.php(9 en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php en la línea 740

    2020-03-19T08:12:49+00:00 CRITICAL Uncaught InvalidArgumentException: Acción 1 no identificada in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:495
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php(482): ActionScheduler_wpPostStore->get_date_gmt(‘1’)
    #1 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(274): ActionScheduler_wpPostStore->get_date(‘1’)
    #2 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_HybridStore->get_date(‘1′)
    #3 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystem en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php en la línea 495

    2020-03-19T08:33:28+00:00 CRITICAL Uncaught InvalidArgumentException: ID de acción no válida. No se encontró ningún estado. in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:740
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(326): ActionScheduler_wpPostStore->get_status(’18’)
    #1 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ListTable.php(533): ActionScheduler_HybridStore->get_status(’18’)
    #2 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php(659): ActionScheduler_ListTable->prepare_items()
    #3 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_AdminView.php en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php en la línea 740

    2020-03-19T08:44:45+00:00 CRITICAL Uncaught InvalidArgumentException: Acción 1 no identificada in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:495
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php(482): ActionScheduler_wpPostStore->get_date_gmt(‘1’)
    #1 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(274): ActionScheduler_wpPostStore->get_date(‘1’)
    #2 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_HybridStore->get_date(‘1’)
    #3 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystem en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php en la línea 495”

    Do you have an idea why is that happend and how to solve it?
    I also received an email from WordPress that says that my site have technical issues and details the issues mentioned above.

    Regards
    Pablo

    #21797
    Althemist
    Keymaster

    Hello PAblo,

    we have already answered in your other topic. It looks like server related error. What versions of PHP and MySQL is your hosting running?

    Regards,
    Dimitar

    #21804

    Hello,
    Thanks for your answers. I already closed the other topic.
    hosting SiteGround
    PHP 7.3.15
    MySQL – I cannot find which version is.

    I contacted woocommerce support, they told me It could be caused by either a conflict with my theme or with another plugin.

    Regards
    Pablo

    #21835
    Althemist
    Keymaster

    Hello Pablo,

    Sorry for the late reply. If you still didn’t found the problem, please provide temporary admin access, so we can check this for you.

    Regards,
    Dimitar

    #21877

    Hello Dimitiar,
    I restored a backup again ( previous tu woocommerce 4.0 update).
    I read the new v4.01 could fix these kind of issues. I am going to wait some days and I will try to udate again.
    I will keep you informed.

    Thanks for your support.

    Regards
    Pablo

    #22083

    Hello,
    I tried new Woocommerce 4.01 but unfurtanetly issue is not solved.
    As I told you, last time I came back to a previous back up, and today I launched again Woocommerce 4.01 update (together with WordPress update) and issue is again here.
    It seems it is related to the database update. The process of updating my database starts but it doesn’t finish. If I click to “View progress” it takes me to the Scheduled Actions section and shows an empty list of (5) Pending actions for the update.
    There is a message that says “next queue will start in aprox 15 secs” and nothing happens. There is also a message that says “Migration of scheduled actions is ongoing. List of scheduled actions could be incomplete.”
    Find here a screen shot:
    https://www.via-lactea.es/wp-content/uploads/2020/04/Scheduled-actions.png

    Regards
    Pablo

    #22106

    Hello Dimitiar,
    Yesterday I restored a backup again ( previous tu woocommerce 4.0 update).
    Before launch Woocommerce update, I disabled all plugins added to my self. Only Babystree, Bakery and Slider Revolution plagin were activated.
    However same issue with the Action Scheduler migration process during the data base update. Some actions are pending or in queue which cannot run.
    Find screenshoot in english here:
    https://www.via-lactea.es/wp-content/uploads/2020/04/restauracion-backup-20200407-20pm-backup-20200405.jpeg

    I don’t know what to do … I need to upload new products but If because of this issue I need to come back to a backup, I will lose all job.

    If you give an email I can send you the report.

    Regards
    Pablo

    #22140
    Althemist
    Keymaster

    Hello Pablo,

    What’s your PHP and mySQL version?

    Could you, please give us temporary admin access to your site?

    #22149
    This reply has been marked as private.
    #22199
    Althemist
    Keymaster

    Hello tienda.via.lactea.online,

    Most probably some of your plugins are not yet compatible with PHP 7.3x

    I’d suggest downgrading the PHP version to 7.2.x and try again.

    Regards,
    Dimitar

    #22306

    Hello,
    I downgraded the PHP version to 7.2.29 and tried again but issue is stil not fixed.
    Same issue has always. Woocommerce data base update does not finish.
    If I go to “see progress” in Woocommerce-Status-Scheduled actions, I can see two messages:
    – “Schedule actions migration is in process. Schedule actions list may be incomplete”.
    – “Next queue will start in aproximatly 5 secs”.

    In other hand, in Woocommerce-Status-Register,I can see Fatal error detail:
    “2020-04-15T15:49:33+00:00 CRITICAL Uncaught InvalidArgumentException: Acción 1 no identificada in /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:495
    Stack trace:
    #0 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php(482): ActionScheduler_wpPostStore->get_date_gmt(‘1’)
    #1 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(274): ActionScheduler_wpPostStore->get_date(‘1’)
    #2 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(78): ActionScheduler_HybridStore->get_date(‘1’)
    #3 /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_wcSystemStatus.php(52): ActionScheduler_wcSystem en /home/customer/www/via-lactea.es/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php en la línea 495”

    Regards
    Pablo

    #22347
    Althemist
    Keymaster

    Hello Pablo,

    It looks like there is a plugin or the server time setting conflicting with the WooCommerce action-scheduler.

    We tried but can’t replicate the problem and as it’s not theme related, we can’t really provide much help. The only thing that comes to my mind is to try changing the wprdpress time zone, as it looks like this is where the system crash. Try to set it to specific region/city and make sure it’s not set to a general region like GMT.

    regards,
    Dimitar

    #22363

    Hello Dimitar,
    You are right, WordPress time was not ok ( 1 hour delay).
    I restored a backup, I change wordpress time and I launched Woocommerce update again. Issue is there again.
    If you have any other idea that I could try, I would really appreciate it.

    I saw there is an upgrade version 1.3.2 of Babystreet theme. It is working with Woocommerce 3.9.1 version?

    Regards
    pablo

    #22395
    Althemist
    Keymaster

    Hello Pablo,

    I am afraid no. There were some significant changes in WooCommerce 4.0+ so the theme would only work with 4.x.x

    Do you have the WooCommerce Admin plugin installed on your system? If so – can you try removing it?

    Also, as the problem is somehow related to the action scheduler, I’d suggest checking if your hosting Cron jobs are enabled.

    I’d also suggest trying the Update database option under WooCommerce > Status > Tools. After that, check if there are some unfinished jobs under WooCommerce > Status > Scheduled Actions tab.

    #22515

    Hello Dimitar,

    What do you mean with Woocommerce Admin plugin? I think I have normal version.
    I am in contact with my hosting about cron jobs, I will let you know.
    Also, some guy from Woocommerce told me to deleted/dropped some tables from my database and made WooCommerce regenerate them.

    The tables are:
    wp_actionscheduler_actions
    wp_actionscheduler_claims
    wp_actionscheduler_groups
    wp_actionscheduler_logs

    Here the post related:
    https://github.com/woocommerce/woocommerce/issues/25987#issuecomment-605388627

    What do you think about that?

    Regards
    Pablo

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 17943, followers 752
Login and Registration Log in · Register