wp cron error msg issue
-
I frequently get the following error message in my php error log:
Error code: invalid_schedule, Error message: Event schedule does not exist
This seems to occur when a plugin has a cron hook installed, but there is no cron event in the wp_options table in the ‘cron’ entry.
I have talked with a plugin developer, and in his case, they have added to hook, and later their plugin might create a schedule for that hook. But meantime: error messages.
I don’t believe that this is a true “error”, but merely a statement of fact. In the PHP scheme of things, it could a notification level message, not an error level one, which can be filtered out. Or it could just be ignored. Since there is nothing that I, as the programmer for the website can do about it, and that plugin developers don’t care about this, perhaps the WP cron code could handle this better.
Thanks
- The topic ‘wp cron error msg issue’ is closed to new replies.