omusman
Forum Replies Created
-
There are array links with:
`domain.com/?p=19520
domain.com
/?p=19520feed/
domain.com/author/admin/feed/’these are the recent array, there are 5 of them like this with different category page and feed pages.
- This reply was modified 5 years, 7 months ago by omusman.
[Dec 15, 14:15:26] PHP Notice: Undefined offset: 3 in /home/example.cloudwaysapps.com/example/public_html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1975 [Dec 15, 14:15:26] PHP Notice: Undefined offset: 3 in /home/example.cloudwaysapps.com/example/public_html/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1974It worked!
The PHP error log gives this Notice errors it used to throw before the update 4.3.7.4 and after the update.
Errors:
plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1935 plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1936- This reply was modified 5 years, 7 months ago by omusman.
Thank you. 🙂
Hello:
I disabled the varnish and tried it worked, i am on Cloudways
here are the logs:
[2020-12-14 11:46:05] [preloader::task] Preloading URL https://example.com/investments/do-a-100-out-of-100-roi-investment/ [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Error: cURL error 28: Operation timed out after 5000 milliseconds with 0 out of 0 bytes received - Retry using http:// [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Send purging request to http://127.0.0.1:8080/author/admin/ [2020-12-14 11:46:06] [varnish::purge_single_url_cache] Response body: <html> <head><title>403 Forbidden</title></head> <body> <center><h1>403 Forbidden</h1></center> <hr><center>cloudflare</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->Varnish settings:
https://i.imgur.com/Ly8dtzy.pngXMLRPC is Disabled
- This reply was modified 5 years, 7 months ago by omusman.
I tried to Purge whole cache that worked.
I am on Vultr i have connected Varnish can this cause those errors?Forum: Plugins
In reply to: [Autoptimize] Css fallbackIDK what helped here but i cleared varnish and restarted server.
Fixed
Apologize for this silliness.
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleI have a different case over here:
Will try with fresh installation of the plugin and perform the changes again.
will update you. 🙂
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleI looked around and realized that its not a space by content or the code, its a whitespace by the str_replace.
This might be useful: Link
I guess there no way to replace a whitespace, i use str_replace to replace all the spaces then the spaces in title will also be replaced.
How its working on your end ??
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleI applied the code, still the space is there.
Is this code working on your end ??
$options['postTitle']=str_replace('Place','',$v->post_title);Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleWhen i revert the code to the default code:
$options['postTitle']=$v->post_title;The space is no more, the space is added after adding above str_replace code.
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleHello:
i am having a space after everypost title such as
PostTitle .
It shoud be:
PostTitle.
Code i used:
$options['postTitle']=str_replace( "Place", "", $v->post_title );Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from Titleand what about the duplicate posts or same posts on both the shortcode on same page, will it happen or not ??
Thank you for the support.
Cheers.
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from TitleCode does the job thank you.
$options[‘postTitle’]=str_replace( ‘Blalbhalb’, ‘nothing’, $v->post_title );While exploring the plugin to figure out how to replace the words. I saw tracking.php under utils and i saw this comment:
//We send once a week (while tracking is allowed) to check in which can be used
//to determine active sitesSo is the tracking features enabled by default or there will be a prompt asking the permission either agree or refuse to it ??
and i am using two [irp] shortcodes on all of posts so will there any heavy loads on server or heavy resource consumption and will it cause any duplicates query or showing same posts title on both [irp].
Forum: Plugins
In reply to: [Inline Related Posts] How to Replace Words from Titleand is tracking enabled by default ??