ResolvedFatal error – Woocommerce 4.0
- This topic has 22 replies, 2 voices, and was last updated 3 years, 4 months ago by
Althemist.
- AuthorPosts
- March 20, 2020 at 11:15 am #21787
tienda.via.lactea.online
ParticipantHello,
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 7402020-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 4952020-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 7402020-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
PabloMarch 20, 2020 at 1:22 pm #21797Althemist
KeymasterHello 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,
DimitarMarch 20, 2020 at 1:40 pm #21804tienda.via.lactea.online
ParticipantHello,
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
PabloMarch 23, 2020 at 3:59 pm #21835Althemist
KeymasterHello 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,
DimitarMarch 25, 2020 at 10:53 am #21877tienda.via.lactea.online
ParticipantHello 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
PabloApril 7, 2020 at 3:42 pm #22083tienda.via.lactea.online
ParticipantHello,
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.pngRegards
PabloApril 8, 2020 at 2:47 pm #22106tienda.via.lactea.online
ParticipantHello 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.jpegI 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
PabloApril 9, 2020 at 10:18 am #22140Althemist
KeymasterHello Pablo,
What’s your PHP and mySQL version?
Could you, please give us temporary admin access to your site?
April 9, 2020 at 10:50 am #22149tienda.via.lactea.online
ParticipantThis reply has been marked as private.April 13, 2020 at 8:02 am #22199Althemist
KeymasterHello 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,
DimitarApril 15, 2020 at 7:00 pm #22306tienda.via.lactea.online
ParticipantHello,
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
PabloApril 17, 2020 at 4:08 pm #22347Althemist
KeymasterHello 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,
DimitarApril 17, 2020 at 8:08 pm #22363tienda.via.lactea.online
ParticipantHello 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
pabloApril 20, 2020 at 9:19 am #22395Althemist
KeymasterHello 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.
April 23, 2020 at 6:45 pm #22515tienda.via.lactea.online
ParticipantHello 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_logsHere the post related:
https://github.com/woocommerce/woocommerce/issues/25987#issuecomment-605388627What do you think about that?
Regards
Pablo - AuthorPosts
You must be logged in and have valid license to reply to this topic.