• Resolved jfleduc

    (@jfleduc)


    Hello,

    I get in infamous “Cron event not found!” message next to all my posts.This started after a recent update, not sure which (2.8.0 or before).

    I just saw your recommendation to roll back to 2.7.8. I did and the problem remains.

    PHP 7.4
    Wordpress 6.1.1
    I’m not using any plugins that alter posts or post functions in any way.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter jfleduc

    (@jfleduc)

    P.S. After reverting back to 2.7.8 I got this automated email :

    WordPress version 6.1.1
    Thème actif : Hello Elementor (version 2.6.1)
    Extension actuelle : PublishPress Future (version 2.7.8)
    PHP version 7.4.29
    
    Détails de l'erreur
    ====================
    Une erreur de type E_ERROR a été causée dans la ligne 149 du fichier /home/jfleduc/public_html/wp-content/plugins/post-expirator/legacy/classes/Facade.class.php. Message d’erreur : Uncaught Error: Class 'PostExpirator_Util' not found in /home/jfleduc/public_html/wp-content/plugins/post-expirator/legacy/classes/Facade.class.php:149
    Stack trace:
    #0 /home/jfleduc/public_html/wp-includes/class-wp-hook.php(308): PostExpirator_Facade->updatedmeta('28327', 3472, '_edit_lock', '1670937411:4')
    #1 /home/jfleduc/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #2 /home/jfleduc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/jfleduc/public_html/wp-includes/meta.php(348): do_action('updated_postmet...', '28327', 3472, '_edit_lock', '1670937411:4')
    #4 /home/jfleduc/public_html/wp-includes/post.php(2522): update_metadata('post', 3472, '_edit_lock', '1670937411:4', '')
    #5 /home/jfleduc/public_html/wp-admin/includes/post.php(1699): update_post_meta(3472, '_edit_lock', '1670937411:4')
    #6 /home/jfleduc/public_html/wp-content/plugins/elementor/core/editor/editor.php(285): wp_set_post_lock(Object(WP_Post))
    #7 /home/jfleduc/public_html/wp-content/p
    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @jfleduc

    Could you please delete the plugin and reinstall the 2.7.8 version?

    Thanks,

    Thread Starter jfleduc

    (@jfleduc)

    Ok, sure, will my expiry programming for this week be deleted too?

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    No as it saved on database.

    Thread Starter jfleduc

    (@jfleduc)

    Awesome,

    I’ve done that. I had to resave my last series of posts. I’ll see this friday if it works as planned!

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    We have released 2.8.2 that should fix some issue with expiration. Kindly try update and test it.

    @rizaardiyanto I updated the plugin from version 2.7.3 to 2.8.2 and faced “Cron event not found!” message. I have cron tasks fired by server every minute (define(‘DISABLE_WP_CRON’, true) in wp-config). Before the update everything was working fine. Now:
    – I set “enable expiration from published to draft in 5 minutes”
    – I wait 5 minutes
    – The page changes status from “published” to “draft”
    – I see a “Cron event not found!” message

    WP: 5.9.2
    PHP 8.1

    @rizaardiyanto one more thing: In the debug logs I don’t see “PROCESSED” log. Only this:

    2023-01-03 16:51:22	DEBUG: 90063 -> EXISTING CRON EVENT FOUND - UNSCHEDULED - no errors found
    
    DEBUG: 90063 -> CRON EVENT SCHEDULED at Tue., 03 Jan 2023 16:55:00 +0100 (1672761300) with options Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 [id] => 90063 ) , no errors found

    …but as I said, page/post changes its status to “draft”.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @pepe80 Can you open a new thread so we can handle each user’s question one by one?

    No problem.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cron event not found, even after roll back to 2.7.8’ is closed to new replies.