• 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)
  • Hi @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

    (@macwebdesign)

    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`

    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

    (@macwebdesign)

    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.