Skip Navigation

[Resolved] ToolSet Access and WP-Cron?

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 4 years, 12 months ago.

Assisted by: Christian Cox.

Author
Posts
#1492405

Could the ToolSet Access plugin somehow prevent WP-Cron events from firing? I am seeing these logs in my error log file:

-----
wp cron event run action_scheduler_run_queue

PHP Warning: Creating default object from empty value in /www/devcappanet_259/public/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 190

Warning: Creating default object from empty value in /www/devcappanet_259/public/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 190
PHP Warning: Invalid argument supplied for foreach() in /www/devcappanet_259/public/wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 295

Warning: Invalid argument supplied for foreach() in /www/devcappanet_259/public/wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 295

Executed the cron event 'action_scheduler_run_queue' in 3.718s.

Success: Executed a total of 1 cron event.
----

Specifically, for WooCommerce and WordPress related email notifications that should be sent but are not.

#1492633

Hi, we are aware of an issue affecting PHP 7.4 users where these notifications are being triggered by Access, and we expect to resolve this in an upcoming release of Access 2.8.4. I'm not sure if these warnings could be responsible for preventing notifications, though. To test that theory, you would have to set up a clone of your site in a test environment and deactivate Access to see if the problem is solved. I'll be glad to keep you posted on the upcoming Access release. We expect that relatively soon.

#1492817

Would it make sense to drop down to PHP 7.3?

#1494179

If that's an option on your hosting environment, it's worth a test. The issue is specific to PHP 7.4