jimk1416
Forum Replies Created
-
Same issue here. Thanks
Good news @wpmansour
Thank you for all your hard work investigating this issue. It is much appreciated.
Hi,
I’m using a staging site to test this.
So I’ve eliminate everything else.
The theme is Twenty Twenty-Four
The only plugins are:
WP-Optimize
WPS Hide LoginI’m still seeing the error when wp-cron runs via the server:
wget -q -O - https://www.mydomain.biz/wp-cron.php?doing_wp_cron >/dev/null 2>&1
The error is:
[23-Apr-2024 18:50:02 UTC] PHP Warning: Cannot modify header information - headers already sent in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 688
If you can just rollback the changes from the latest update something in that update is causing the issue. Possibly a whitespace in the wrong place or a typo in a statement in that file?
Let me test it on a site with minimum plugins and default WordPress theme and I’ll get right back to you.
They are basically all the same.
They all point to the same file. They are timestamped once an hour which is when wp-cron runs via wget on server cron job.
https://pastebin.com/5tDsnXpDI’ve verified that all sites using wget to run cron from the server have this error. Even on different servers.
I’ve also verified that the error started after updating the plugin to the latest version 3.3.2
I rolled back to version 3.3.1 and the error is no longer there so it is definitely something with the latest version.
Thanks
OK I will do that and report back. Every site I own (about 35) that I am using the wget to run wp-cron is seeing that.
They all run once an hour so it won’t take long to test it that way.
FYI I saw in my research that another optimize plugin had this same issue awhile back.
ThanksSo I figured out this error is generated whenever wpcron runs via the server with wget
In my wp-config.php I have Disabled WP Cron.
I have a Cron job on the server set to run every hour and that is generating the error warning.wget -q -O - https://www.mydomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Any way to fix this? It has only recently become an issue.
Forum: Plugins
In reply to: [The Events Calendar] Map for all eventsThanks for the quick reply.
Forum: Plugins
In reply to: [Spam Protect for Contact Form 7] PHP WarningI think this was conflict with another plugin seems ok now
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Fixing Output CodeI tried adding this to functions.php but it’s still showing the issue with this field
My original line and the code to allow it:echo "<p>" . the_field('map_embed') . "</p>";
add_filter( 'acf/the_field/allow_unsafe_html', function( $allowed, $selector ) { if ( $selector === "map_embed" ) { return true; } return $allowed; }, 10, 2);
I ended up completely uninstalling Wordfence and all the database tables.
The database was 40MB.
I reinstalled Wordfence and now the database is back to a respectable 26MB.
So just wondering if there was another way to clean it up other than that.
ThanksHi @mihaiimagely thank you for the reply
Ver 3.57 fixed the URL issue.
Thanks
Forum: Plugins
In reply to: [New User Approve] Security VulnerabilityHey @hamza1010
Thanks for the quick fix.