Hi,
So (I’m assuming from what you’ve already said that you understand PHP coding at some level, but if this doesn’t make sense, we’ll try another way), you can see from your cron event list there that there is *no* parameter for the updraftplus_clean_temporary_files action. However, the logging line you’ve added logs the first parameter, and this records a parameter (https://avtomig.com.ua). This can’t be reproduced on any of our test sites, so it appears that some other component is getting involved on your site, and inserting an unwanted parameter which equals the site URL into at least this action call (perhaps others). Perhaps you have an idea which component that may be?
David
Hi,
I think I kind of understand what’s happening, but have no idea which component that might be caused by. Is plugin or theme meant by component? Presumably, we could turn them off one by one and somehow made this event happen manually after each disabling (not to wait 12 hours)? Is this the other way you mentioned?
Yes, by component I mean plugin, theme or any other custom code that you’ve added.
You can make the event happen manually by changing its time to the current time in the WP Crontrol list of scheduled tasks.
Hey, @davidanderson !
Here is what a detailed sequence of actions I’ve managed to do for this time looks like:
1. I’ve scanned my website’s files and found out that my wp-cron.php was altered. I inspected it and as you’ve already mentioned, there was that extra parameter “https://avtomig.com.ua“. (I haven’t ever edited it though). So I just replaced it with the standard wp-cron.php from the latest WordPress update. I emptied all cache and waited more than a day, but notification didn’t stop. They, however, look different, that extra parameter is gone. But the errors still there and there are lots of them:
<br>[21-Sep-2023 12:30:14 UTC] s:0:"";, backtrace: do_action_ref_array('updraftplus_clean_temporary_files'), WP_Hook->do_action, WP_Hook->apply_filters, UpdraftPlus_Filesystem_Functions::clean_temporary_files<br>
2. I turned off all the plugins and switched to the twenty twenty-one theme. I only left a few plugins on, including maintenance, crontrol and UP. I opened WP crontrol events, found the “updraftplus_clean_temporary_files" action and pushed “run now”. No error logs. One by one, I turned on all the plugins and switched back to my theme. Ran this action again and still nothing.
3. I decided to wait until it happens as usual and check again (just in case) and it was there again in the morning:
<br>[22-Sep-2023 00:30:09 UTC] s:0:"";, backtrace: do_action_ref_array('updraftplus_clean_temporary_files'), WP_Hook->do_action, WP_Hook->apply_filters, UpdraftPlus_Filesystem_Functions::clean_temporary_files<br>
“But the errors still there and there are lots of them:”
Those aren’t errors, those are the extra debugging lines you added. You can now remove them.
Yes, you’re right, I was already managed to forget. Then, I assume there are no problems anymore and we’ve successfully found and solved the issue, thank you so much for your help and efforts! I really appreciate that.
You’re welcome! If you feel our review is worth a 5-star review, then please give us one here: https://ww.wp.xz.cn/support/plugin/updraftplus/reviews/
Thank you,
David