Support » Plugin: Easy Appointments » Google Calendar sync – PHP Fatal error

  • I’ve set up the extension plugin for Google Calendar sync, but it’s not connecting. I’m seeing two PHP errors in my server logs:

    • PHP Warning: fopen(/***/wp-content/plugins/easy-appointments-connect/src/logs/google-sync.log.php): failed to open stream: Permission denied in /***/wp-content/plugins/easy-appointments-connect/vendor/katzgrau/klogger/src/Logger.php on line 167, referer: https://***.com/wp-cron.php?doing_wp_cron=1531943032.9588940143585205078125
    • PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The file could not be opened. Check permissions.’ in /***/wp-content/plugins/easy-appointments-connect/vendor/katzgrau/klogger/src/Logger.php:134\nStack trace:\n#0 /***/wp-content/plugins/easy-appointments-connect/src/google_logic.php(97): Katzgrau\\KLogger\\Logger->__construct(‘/nas/content/li…’, ‘error’, Array)\n#1 [internal function]: EAC_Google_Logic->google_sync()\n#2 /***/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)\n#3 /***/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#4 /***/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#5 /***/wp-cron.php(126): do_action_ref_array(‘eac_google_sync’, Array)\n#6 {main}\n thrown in /***/wp-content/plugins/easy-appointments-connect/vendor/katzgrau/klogger/src/Logger.php on line 134, referer: https://***.com/wp-cron.php?doing_wp_cron=1531943032.9588940143585205078125

    (I obscured some file path info with ‘***’ above)

    The file ‘/wp-content/plugins/easy-appointments-connect/src/logs/google-sync.log.php’ did not exist, so I created it and applied 755 file permissions, but the code is still throwing permissions errors.

    Let me know if you need more info. Any help is appreciated.

    • This topic was modified 2 years, 9 months ago by sbgdigi.
Viewing 1 replies (of 1 total)
  • Thread Starter sbgdigi


    For anyone else that lands here, the issue was caused by how WP Engine handles file permissions. The plugin attempts to write a log file and fails, causing the entire Google Sync functionality to fail.

    Unfortunately, that means the Pro extension is not compatible with WP Engine hosted sites.

Viewing 1 replies (of 1 total)
  • The topic ‘Google Calendar sync – PHP Fatal error’ is closed to new replies.