Russell Todd

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Enabled logging and now Help page gets 500 error #1359479
    Russell Todd
    Participant

    William – thanks for weighing in on this.

    Like you, I have spent way too much time chasing down issues with this plugin. The sync with google calendar is just not reliable, and over the past month I have wasted hours looking into issues, updating the plugin, retrying, and we’ve finally decided we can’t afford to lose any more time on this. So we’ve switched to another plugin entirely.

    The two cases that AndrĂ¡s mentioned are both legitimate issues, but the fact remains that is a bug in the plugin that causes a PHP Fatal error. Simple error handling would be able to gracefully handle this situation and allow the plugin to work normally. Free advice below:

    • When a user enables logging, check to see if there are write permissions on the directory BEFORE saving the setting.
    • Put a try… catch around the code in the stack trace above.

    These basic coding best practices would keep your plugin functioning correctly. And it would have saved you a customer…

Viewing 1 post (of 1 total)