Title: Slow Errors / curl_exec() function
Last modified: November 28, 2017

---

# Slow Errors / curl_exec() function

 *  [macwebdesign](https://wordpress.org/support/users/macwebdesign/)
 * (@macwebdesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/)
 * Hi! We’re having issues with the plugin causing slow errors (PHP requires more
   than 5 seconds to execute). Turns out, Easy Appointment Connect is using the 
   curl_exec() function. In one morning it produced 213 slow errors (!).
 * Is there any work around or solution for this problem?
 * Thank you!

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

 *  [Nikola Loncar](https://wordpress.org/support/users/loncar/)
 * (@loncar)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/#post-9731339)
 * Hi [@macwebdesign](https://wordpress.org/support/users/macwebdesign/),
 * it’s using it for communication with Google API etc. Can you please paste me 
   the row from error log?
 * Best regards,
    Nikola
 *  Thread Starter [macwebdesign](https://wordpress.org/support/users/macwebdesign/)
 * (@macwebdesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/#post-9731630)
 * Sure. Here you go:
 * script_filename = /www//wp-cron.php curl_exec() /www/wp-content/plugins/easy-
   appointments-connect/vendor/google/apiclient/src/Google/IO/Curl.php:119 executeRequest()/
   www/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/
   Google/IO/Abstract.php:136 makeRequest() /www/wp-content/plugins/easy-appointments-
   connect/vendor/google/apiclient/src/Google/Http/REST.php:60 doExecute() unknown:
   0 call_user_func_array() /www/wp-content/plugins/easy-appointments-connect/vendor/
   google/apiclient/src/Google/Task/Runner.php:174 run() /www/wp-content/plugins/
   easy-appointments-connect/vendor/google/apiclient/src/Google/Http/REST.php:46
   execute() /www/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/
   src/Google/Client.php:593 execute() /www/wp-content/plugins/easy-appointments-
   connect/vendor/google/apiclient/src/Google/Service/Resource.php:240 call() /www/
   wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/
   Service/Calendar.php:1634 listEvents() /www/wp-content/plugins/easy-appointments-
   connect/src/google_event_helper.php:81 get_events() /www/wp-content/plugins/easy-
   appointments-connect/src/cron/google_cron.php:47 pull_events() /www/wp-content/
   plugins/easy-appointments-connect/src/google_logic.php:117 google_sync() unknown:
   0 call_user_func_array() /www/wp-includes/class-wp-hook.php:298 apply_filters()/
   www/wp-includes/class-wp-hook.php:323 do_action() /www/wp-includes/plugin.php:
   515 do_action_ref_array() /www/wp-cron.php:117`
 *  [Nikola Loncar](https://wordpress.org/support/users/loncar/)
 * (@loncar)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/#post-9735130)
 * Hi looks like you don’t have CURL module for PHP on your hosting. Can you please
   turn it on?
 * Best regards,
    Nikola
 *  Thread Starter [macwebdesign](https://wordpress.org/support/users/macwebdesign/)
 * (@macwebdesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/#post-9735657)
 * Hi, Nikola.
 * cURL is turned on. I verified with our hosting service today. They pointed out
   that it may be necessary to limit the amount of data going back and forth between
   requests (like not sending old appointment data).
 * Hopefully, this can help refine an already nice plugin. (BTW We did purchase 
   the beta version of Connect.)

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

The topic ‘Slow Errors / curl_exec() function’ is closed to new replies.

 * ![](https://ps.w.org/easy-appointments/assets/icon-256x256.png?rev=1472759)
 * [Easy Appointments](https://wordpress.org/plugins/easy-appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-appointments/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [macwebdesign](https://wordpress.org/support/users/macwebdesign/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/slow-errors-curl_exec-function/#post-9735657)
 * Status: not resolved