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.
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.
Would it make sense to drop down to PHP 7.3?
If that's an option on your hosting environment, it's worth a test. The issue is specific to PHP 7.4