• Resolved Alex

    (@jandru)


    Hello!

    We have.a problem, seems, with a scheduled events. If we activate the debug and log mode, the log show errors like “Cron reschedule event error for hook” for the “forminator_process_report” and “forminator_send_export” hooks

    What are the cause of these errors? Can you help us? (sorry, the example logs are in spanish)

    [10-Oct-2023 13:00:45 UTC] Error de evento de reprogramación de cron para el gancho: forminator_process_report. Código de error: could_not_set. Mensaje de error: No se ha podido guardar la lista de eventos del cron.. Datos: {"schedule":"every_minute","args":[],"interval":60}
    
    [10-Oct-2023 13:15:02 UTC] Error de evento de reprogramación de cron para el gancho: forminator_send_export. Código de error: could_not_set. Mensaje de error: No se ha podido guardar la lista de eventos del cron.. Datos: {"schedule":"every_minute","args":[],"interval":60}
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @jandru,

    I hope you are doing well today!

    These errors are likely caused by an issue with the WordPress cron system. The cron system is responsible for scheduling tasks to occur at specified times, so when it fails, your scheduled operations may not run as expected.

    The error messages you see in your logs indicate that the operations “forminator_process_report” and “forminator_send_export” cannot be rescheduled because the cron event list cannot be saved (“No se ha podido guardar la lista de eventos del cron”).

    This issue can have several possible causes like file permissions, low memory limit, or a misconfiguration with your cron settings

    • Check if your server or hosting provider has limitations or restrictions on cron jobs. If there are restrictions, you may need to adjust your site’s cron schedules or discuss lifting the restrictions with your host.
    • Sometimes, if WordPress doesn’t have the right permissions to write to the files and folders it needs to, this type of error can occur. Ensure that WordPress is able to write to the wp-cron.php file and the /wp-content/ directory.
    • Try deactivating all of your WordPress plugins temporarily, then reactivating them one by one. This can help to identify whether perhaps one of your plugins is causing this issue.
    • If your PHP memory limit is too low, WordPress may not be able to execute cron jobs effectively. You can increase the PHP memory limit in your server settings or php.ini file.
    • Another option is to replace WP-Cron with a real cron job, which can significantly improve the reliability of scheduled tasks. However, this is a somewhat technical process and will typically require access to your web server’s command line interface.

    If these steps do not resolve the issue, I would recommend seeking the assistance of a WordPress developer or contacting your hosting provider for support.

    Kind regards,
    Zafer

    Thread Starter Alex

    (@jandru)

    Hi Zafer!

    After review it and discarding some possible causes that you’ve comented, I suspect it is because the site has performance issues. There are more cron jobs running apparently without problems. I’ll keep investigating.

    Thank you so much for your help!

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi again @jandru,

    We haven’t heard from you in a while, we will go ahead and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind regards,
    Zafer

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cron reschedule event error for hook’ is closed to new replies.