• Resolved nuyensgert

    (@nuyensgert)


    Plugin version 3.0.10.

    I disabled the WordPress default wp-cron behaviour in wp-config.php:
    define(‘DISABLE_WP_CRON’, true);

    I have the following crontab setup (running every 30 min):
    */30 * * * * cd /var/www/bethhagaphen.info/htdocs; php /var/www/bethhagaphen.info/htdocs/wp-cron.php

    Everyday at 18u30 I get the following error mailed to me:
    PHP Fatal error: Call to undefined function SimpleCalendar\simcal_delete_feed_transients() in /var/www/bethhagaphen.info/htdocs/wp-content/plugins/google-calendar-events/includes/post-types.php on line 316

    Can you take a look at it?

    https://ww.wp.xz.cn/plugins/google-calendar-events/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    Does it work correctly if you have the wp-cron on?

    Thread Starter nuyensgert

    (@nuyensgert)

    It is triggered upon deletion of a calendar.

    I think it has something to do with wordpress trying to empty the trash (files in the trash are automatically deleted after 30 days by wp).

    I had some calendars in the trash. I emptied the trash.

    I’ll have to wait until tomorrow to see if this solved the problem.
    I’ll keep you informed.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Sounds great. Look forward to your findings. Thanks.

    Thread Starter nuyensgert

    (@nuyensgert)

    It didn’t solve the problem.

    About your question if it works correctly when I have the wp-cron on: I think it worked ok but I want to have it off and work with crontab who calls wp-cron. I don’t see the difference.

    I can’t understand what exactly is causing the problem. Everyday at 18u30 I get a mail while the crontab job runs every 30 min.

    I also don’t understand what is triggering simcal_delete_feed_transients() at post-types.php on line 316?

    Plugin Contributor Nick Young

    (@nickyoung87)

    Is the 18:30 time matching up when your calendar cache is clearing?

    I also don’t understand what is triggering simcal_delete_feed_transients() at post-types.php on line 316?

    That’s the function that is called when your calendar cache is cleared. It removes all the old transients to replace with the new one.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Assuming this is resolved since there has not been a reply here. Please let us know if there is anything else we can help you with.

    Thanks!

    Thread Starter nuyensgert

    (@nuyensgert)

    Sorry for my late reaction but it has been a busy week and I didn’t have time to reply. The problem is not solved yet, for all my calendar the cache clearing interval is 4 hours.

    Plugin Contributor Nick Young

    (@nickyoung87)

    I’m not really sure. Since it is working with the other plugin disabled then I would have to assume it is conflicting somehow.

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

The topic ‘crontab – PHP Fatal error’ is closed to new replies.