qph9697
Forum Replies Created
-
Are you using caching mechanisms such as Varnish and/or Redis, by any chance?
No, I am not using varnish or Redis caching.
Just for info, i am using w3 total cache plugin.
No no, sorry. I just shared that with you, to let you know that it’s some sort of common problem in WordPress that I (possibly) missed.
Oh okay got it, it’s okay.
So sir, can you please help me to resolve this issue.
Because I love your OMGF plugin, and it greatly improves my site speed, too.
But this issue started, from yesterday, when I wanted to preload my font styles.This error also pops up when I am trying to go from the “Advanced Settings” tab to “Generate Stylesheet” tab.
After updating the plugin, the error for moving from advanced tabs to generate stylesheet tab is gone.
(earlier is used to get a white screen, with {return ‘false’, Resolving timed out after 5000 milliseconds})
Above is not exact, but this is the kind of error I got every time.But the error for downloading the fonts is still there.
Hi thank you for the reply,
I am not good at coding.
I do use snippets plugin to load PHP functions.
Do I have to add this into the snippets plugin?
add_filter(‘http_request_args’, ‘fix_wp_curl_timeout’, 100, 1);
function fix_wp_curl_timeout( $time )
{
$time[‘timeout’] = 10;
return $time;
}
add_action(‘http_api_curl’, ‘adjust_wp_custom_timout’, 100, 1);
function adjust_wp_cust_timout( $handle )
{
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 10 );
curl_setopt( $handle, CURLOPT_TIMEOUT, 10 );
}and if yes, then where do I have to change the timeout? and what number should I use?
(If assuming the current number is 5000)- This reply was modified 4 years, 10 months ago by qph9697.
Hi thank you for your quick reply,
Yes, I am still having this issue.
I even tried increasing my “PHP maximum execution time (300sec)” & “the memory limit (512MB)”, but still there was this error.
In my query monitor, I am getting this error,
Page Generation Time
1.1524
No execution time limit. The max_execution_time PHP configuration directive is set to 0.From the server end, I tried increasing the time and memory limit, at admin end, I even disabled all my plugins, but still, there was this issue.
I have the latest WP installed 5.4.1, PHP 7.4, and cURL version 7.62.0.
Forum: Plugins
In reply to: [W3 Total Cache] No js file management tab found in MINIFY SectionYes its working. Thanks !!
Forum: Plugins
In reply to: [W3 Total Cache] No js file management tab found in MINIFY SectionThank you soo much, for the quick reply. I will try and let you know.