PHP Warning: include_once(): Failed opening action-scheduler.php on line 39
-
Hello,
We’ve been getting this warning in our logs hundreds of time during a day:
PHP Warning: include_once(): Failed opening 'includes/vendor/action-scheduler/action-scheduler.php' for inclusion (include_path='.:/usr/share/php') in /home/project/public_html/wp-content/plugins/mailchimp-for-woocommerce/mailchimp-woocommerce.php on line 39
If we go to the mentioned line in mailchimp-woocommerce.php:
if (!isset($mailchimp_woocommerce_spl_autoloader) || $mailchimp_woocommerce_spl_autoloader === false) { // require Action Scheduler include_once "includes/vendor/action-scheduler/action-scheduler.php"; // bootstrapper include_once "bootstrap.php"; }
There is no vendor directory inside includes which is what triggers the failed included warning. Looks like it is something related to the autoloader conditional then? Any ideas on how could this be fixed? We would like to remove the warning from our logs since it generates considerable noise.
Thanks in advance.
- The topic ‘PHP Warning: include_once(): Failed opening action-scheduler.php on line 39’ is closed to new replies.