What we are doing is passing Google sheet API URL with parameters from your Google sheets URL in a format like https://sheets.googleapis.com/v4/spreadsheets/... to the WordPress built-in function
wp_remote_get
that performs an HTTP request using the GET method and returns its response.
If you test your file (you can create the same sheet with dummy data) and test it on our sandbox, you will see that tables are created without any issues with or without the new google sheet API connection.
Please check out solutions for the first initial error for curl error 28 - Operation timed out here:
I want to follow up again. The last couple days I spent a lot of time talking to my host, Bluehost, and the theme developer on separate support threads and everyone is just blaming something else. I'm at a loss right now and I don't know what to do next.
Bluehost is saying they see an error with the template, so I reached out to the template developer next.
Bluehost also ended up changing something in the DNS or something I'm not exactly sure.
PHP Fatal error: Uncaught Error: Call to undefined function thegem_title() in /home1/svbimmer/public_html/wp-content/plugins/thegem-elements/inc/content.php:3099
TheGem, template developer, is saying it's not the theme.
The PHP issue you are experiencing is caused and related to third-party plugin wpDataTables (plugin). Yes, I understand, that the error description is a kind of misleading pointing on /home1/svbimmer/public_html/wp-content/plugins/thegem-elements/inc/content.php:3099 , however please trust us, it is not caused by the theme.
I can't believe I am finding this information. I was so frustrated and doing some more research and my template developer, who is not responsible for this, came across your thread with another client on the same topic. This was your response:
"I just spoke with our lead developer, and unfortunately, there's no solution for this yet."
I am very unhappy with the knowledge base and support your team has given me. It was very misleading and led to hours of unnecessary work. I've been spending hours on the phone/email with my template builder and host (Bluehost) and they have also confirmed this is a plugin issue.
Also, I want to mention this is not a Google quota issue. I am using 3% allocation of my Google API quota. I need an immediate solution please.
You can see the date on that ticket (May 25th, 2021). A lot can happen in 7 months, and the information I sent you 2 weeks ago is the information I received from the same developer who couldn't find the solution back in May. We've had a fair number of users with the same error message in the past couple of months, and they were able to fix it with the same advice I shared with you.
I'm not sure how the template developer can say that an error leading to their file wp-content/plugins/thegem-elements/inc/content.php:3099 is "misleading", but I'll forward that to our developers for checking as well.
The highlighted text sent in the previous response is related to the "Too many requests" error which comes from the Google API because of the limit:
For curl error 28 - if the API method is being used, this error is returned by the function wp_remote_get which uses cURL in the background. The client's server doesn't have time to manage the data from Google's API in 5 seconds (which is the default setting in WordPress).
Why the error is in the file of another plugin is not clear. Maybe it's because of this error for the cURL.
The old method can be used (without Google's API credentials) where the timeout limit is set to 25 in file wp-content/plugins/wpdatatables/source/class.wdttools.php on line 198
This can be overwritten with the hook wpdatatables_curl_get_data in the same file wp-content/plugins/wpdatatables/source/class.wdttools.php on line 208.
On the initial response I think it would help future users to know the hook can be used even on the API method to change call time. Currently it only links out to a web article that can be very vague for users.
Good to know even with an API connection we can change this limit. I will reach out to my host again.
I thought I had this fixed, but it's still an issue. I really don't know what else to do. Can you please help. Still getting the cURL error 28 intermittently on these 2 pages:
I don't know of any other workarounds or fixes, but I have reached out to our developers one more time. I hope they'll be able to provide some advice, but I can't promise anything.
Can you please turn off the API method (if you're using that), and set an even bigger value in wp-content/plugins/wpdatatables/source/class.wdttools.php file. There's nothing more to it, really, it's just that your server needs a lot of time to fetch the data from the Google Sheet using cUrl.
It's been a few months now and wanted to see if there is a new way to fix this. It worked for a while and now I'm getting the cURL error again.
I've already increased the time to 5 seconds and it's still not enough time. It's getting to the point where it's bad for SEO and a bad overall user experience.
Is there anything we can do to optimize the table or something?
Error cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received
Unfortunately, there's been no progress in this regard. Try increasing the time limit to 10 seconds to see if it works. I'll remind our developers that this is still an issue, but I can't promise any ETAs on the fix. Google implemented fixed rates for fixing this and we still haven't been able to find a workaround.
This cURL issue is still happening and this plugin no longer serves a function for us.
I want to confirm, this is not a fix that can be done on the server hosting end with Bluehost. Correct? I've reached out to them, but they told me this is a plugin issue.
It's unfortunate that we find this issue until we actually try it out.
It's been a while since I purchased the Pro license, but I was wondering if we can get a refund.
Our developers are working on a solution for improved caching for our tables.
This will be very useful in situations when linking tables to Google Spreadsheets, or Google API.
It should be released very soon.
We can't guarantee an exact ETA,
because our developers want to make sure everything is tested out and ready, before the feature gets added to the plugin.
- We will also add Documentation about the new caching feature, and we will be here if you have any questions about it.
-
You can also follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;
and our newsletter, so you're informed about new features, bug fixes, freebies, etc.
Sometimes I get this error "cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes recieved" when loading a Google Sheet datatable.
Hello Andrew.
Thanks for reaching out to us.
1. If you're using the API method:
What we are doing is passing Google sheet API URL with parameters from your Google sheets URL in a format like https://sheets.googleapis.com/v4/spreadsheets/... to the WordPress built-in function
that performs an HTTP request using the GET method and returns its response.
If you test your file (you can create the same sheet with dummy data) and test it on our sandbox, you will see that tables are created without any issues with or without the new google sheet API connection.
Please check out solutions for the first initial error for curl error 28 - Operation timed out here:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/
2. If you're not using the API method, but the old method:
That old logic has one timeout set in filewp-content/plugins/wpdatatables/source/class.wdttools.php. Please search for this:
Increase it to 100 and check again.
If you have a version of wpDataTables older than v.3.6, the timeout is set to "5", not "25".
I hope this helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksander,
I want to follow up again. The last couple days I spent a lot of time talking to my host, Bluehost, and the theme developer on separate support threads and everyone is just blaming something else. I'm at a loss right now and I don't know what to do next.
Bluehost is saying they see an error with the template, so I reached out to the template developer next.
Bluehost also ended up changing something in the DNS or something I'm not exactly sure.
PHP Fatal error: Uncaught Error: Call to undefined function thegem_title() in /home1/svbimmer/public_html/wp-content/plugins/thegem-elements/inc/content.php:3099
TheGem, template developer, is saying it's not the theme.
The PHP issue you are experiencing is caused and related to third-party plugin wpDataTables (plugin). Yes, I understand, that the error description is a kind of misleading pointing on /home1/svbimmer/public_html/wp-content/plugins/thegem-elements/inc/content.php:3099 , however please trust us, it is not caused by the theme.
Hi,
I can't believe I am finding this information. I was so frustrated and doing some more research and my template developer, who is not responsible for this, came across your thread with another client on the same topic. This was your response:
"I just spoke with our lead developer, and unfortunately, there's no solution for this yet."
I am very unhappy with the knowledge base and support your team has given me. It was very misleading and led to hours of unnecessary work. I've been spending hours on the phone/email with my template builder and host (Bluehost) and they have also confirmed this is a plugin issue.
Also, I want to mention this is not a Google quota issue. I am using 3% allocation of my Google API quota. I need an immediate solution please.
Please
Hello again Andrew
You can see the date on that ticket (May 25th, 2021). A lot can happen in 7 months, and the information I sent you 2 weeks ago is the information I received from the same developer who couldn't find the solution back in May. We've had a fair number of users with the same error message in the past couple of months, and they were able to fix it with the same advice I shared with you.
I'm not sure how the template developer can say that an error leading to their file wp-content/plugins/thegem-elements/inc/content.php:3099 is "misleading", but I'll forward that to our developers for checking as well.
I'll get back to you as soon as I hear from them.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Andrew,
Here's the latest response from our developers:
The highlighted text sent in the previous response is related to the "Too many requests" error which comes from the Google API because of the limit:
For curl error 28 - if the API method is being used, this error is returned by the function wp_remote_get which uses cURL in the background. The client's server doesn't have time to manage the data from Google's API in 5 seconds (which is the default setting in WordPress).
That limit can be increased using a hook https://wordpress.stackexchange.com/questions/341357/wp-remote-get-curl-error-28-only-on-same-domain. Instead of "15" set it to "100", just in case.
Why the error is in the file of another plugin is not clear. Maybe it's because of this error for the cURL.
The old method can be used (without Google's API credentials) where the timeout limit is set to 25 in file wp-content/plugins/wpdatatables/source/class.wdttools.php on line 198
This can be overwritten with the hook wpdatatables_curl_get_data in the same file wp-content/plugins/wpdatatables/source/class.wdttools.php on line 208.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Okay now that makes a lot more sense.
On the initial response I think it would help future users to know the hook can be used even on the API method to change call time. Currently it only links out to a web article that can be very vague for users.
Good to know even with an API connection we can change this limit. I will reach out to my host again.
I'm glad to hear that Andrew.
I already modified the response for future reference, so all info is properly included.
Thank you for your patience.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi,
I thought I had this fixed, but it's still an issue. I really don't know what else to do. Can you please help. Still getting the cURL error 28 intermittently on these 2 pages:
https://svbimmerchallenge.com/driver-standings/
https://svbimmerchallenge.com/lap-times-results/
I went into class.wdttools.php and changed the time to 100 but still it's not working.
Hello Andrew.
I don't know of any other workarounds or fixes, but I have reached out to our developers one more time. I hope they'll be able to provide some advice, but I can't promise anything.
I'll get back to you as soon as I hear from them.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello again Andrew.
Can you please turn off the API method (if you're using that), and set an even bigger value in wp-content/plugins/wpdatatables/source/class.wdttools.php file. There's nothing more to it, really, it's just that your server needs a lot of time to fetch the data from the Google Sheet using cUrl.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hey Aleksander,
It's been a few months now and wanted to see if there is a new way to fix this. It worked for a while and now I'm getting the cURL error again.
I've already increased the time to 5 seconds and it's still not enough time. It's getting to the point where it's bad for SEO and a bad overall user experience.
Is there anything we can do to optimize the table or something?
Error
cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received
Happening for both URLs:
https://svbimmerchallenge.com/driver-standings/
https://svbimmerchallenge.com/lap-times-results/
Hello Andrew
Unfortunately, there's been no progress in this regard. Try increasing the time limit to 10 seconds to see if it works. I'll remind our developers that this is still an issue, but I can't promise any ETAs on the fix. Google implemented fixed rates for fixing this and we still haven't been able to find a workaround.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Is there any future roadmap to fix this issue?
This cURL issue is still happening and this plugin no longer serves a function for us.
I want to confirm, this is not a fix that can be done on the server hosting end with Bluehost. Correct? I've reached out to them, but they told me this is a plugin issue.
It's unfortunate that we find this issue until we actually try it out.
It's been a while since I purchased the Pro license, but I was wondering if we can get a refund.
Hi, Andrew
Our developers are working on a solution for improved caching for our tables.
This will be very useful in situations when linking tables to Google Spreadsheets, or Google API.
It should be released very soon.
We can't guarantee an exact ETA,
because our developers want to make sure everything is tested out and ready, before the feature gets added to the plugin.
- We will also add Documentation about the new caching feature, and we will be here if you have any questions about it.
-
You can also follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;
and our newsletter, so you're informed about new features, bug fixes, freebies, etc.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables