Getting Error “invalid secret string” by running wp-cron.php manually

I am trying to run the wp-cron.php manually by calling it that way:

http://mysite.com/wp-cron.php?doing_wp_cron

Disabling the auto cron function with :

define('DISABLE_WP_CRON', TRUE);

produces the same error.

What could be the issue?

3 Answers
3

If you’re launching wp-cron manually you don’t need the “doing_wp_cron” parameter. The fact that you have it and haven’t given it a value is very likely to be what’s causing your error.

Leave a Comment