• Resolved migcoe

    (@migcoe)


    Since a few updates i keep getting error_log spam with lines like this (on several sites):
    Cron reschedule event error for hook: wpo_reset_webp_conversion_test_result, Error code: invalid_schedule, Error message: O evento agendado não existe., Data: {“schedule”:”wpo_daily”,”args”:[],”interval”:86400

    only way i manage to get rid of this is either tun off the plugin or using the function “wp_clear_scheduled_hook”, witch is not a ideal solution.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Venkat Raj

    (@webulous)

    @migcoe Please install WP Crontrol plugin and see the list of Cron Schedules. It should have wpo_daily schedule. Otherwise, deactivate the plugin and activate it again. Check again the cron schedules

    Thread Starter migcoe

    (@migcoe)

    Hi Venkat and thank you for your reply.

    Unfortenly i already tried before something like your suggestions and was not working, so i tried again and:
    – Deactivating the plugin dont clean it, even if i reset it (but the spam stop while is deactivated).
    – there is no “wpo_daily” schedule, neither any reference to “wpo_reset_webp_conversion_test_result” job… this is the weird part!

    For what i can see, any time a page is refreshed, no matter if backend or frontend, it fires that error.
    Only way i managed to get rid of it is while using this action on my functions.php:

    add_action(“init”, “remove_cron_job”);
    function remove_cron_job() {
    wp_clear_scheduled_hook(“wpo_reset_webp_conversion_test_result”);
    }

    Plugin Contributor Venkat Raj

    (@webulous)

    @migcoe Please do a plugin conflict test. I believe either one of your plugin or theme is removing the mentioned schedule wpo_daily. It may be a mistake in the code. Would you mind sharing screenshot of available cron schedules in the WP Crontrol plugin page? Thanks

    Thread Starter migcoe

    (@migcoe)

    Well even with all turn off besides your plugin the problem persists.

    Plugin Support vupdraft

    (@vupdraft)

    @migcoe – did you manage to install the plugin WP Crontrol? What results did you get?

    Thread Starter migcoe

    (@migcoe)

    With wp control i cant see on cron Schedules, a schedule with “wpo_daily” in the name unfortenly.

    On other hand the “wpo_reset_webp_conversion_test_result” hook shows at cron events with a unknow recurrence (since there is no wpo_daily). Then, when I try to edit or delete it, it shows this error: The event you are trying to edit does not exist.

    the only way i managed to get this silent is really while using this code on my functions php:

    add_action(“init”, “remove_cron_job”);
    function remove_cron_job() {
    wp_clear_scheduled_hook(“wpo_reset_webp_conversion_test_result”);
    }

    Plugin Contributor Venkat Raj

    (@webulous)

    @migcoe

    1. Take a full backup
    2. Deactivate all plugins
    3. Switch theme to default theme
    4. If there are drop in / must use plugins check what they does
    5. Activate WP Optimize and WP Crontrol
    6. You should see wpo_daily

    I had the same issue. It started after I deleted some files from my upload directory, suspecting its malicious code…:
    wpo-plugins-tables-list.json
    and wpo folder – if I remeber correct.

    After seeing this thread, I have removed WPO and reinsttaled it + run the daily event.

    Seems that everything is back to normal.

    Hope it helps you too.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘spam on error_log file’ is closed to new replies.