yurchik1
Forum Replies Created
-
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsSure! 5 starts indeed!
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsYes, 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.
Forum: Plugins
In reply to: [Regenerate Thumbnails] Images with 0 dimensionHey, @yscik8 !
Thank you so much for your answer, it helped me a lot! I don’t have any more questions now. I am still worried about the quantity of images because I am limited with it (+ speed from inodes), but thankfully to you, now I know how to handle that!
Really appreciate your help,
Yuryi
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsHey, @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>
Forum: Plugins
In reply to: [Regenerate Thumbnails] Images with 0 dimensionHello @erania-pinnera !
Thank you so much for the reply! I’ve inspected settings in my Dashboard > Settings > Media and everything looks good:
View post on imgur.com
There is no such tab as WooCommerce > Settings > Products > Display, but I found it under Appearance > Customize > WooCommerce > Product Images. Although it says “Images” in plural, there is only one size and it is also set.
View post on imgur.com
The next popular thing I’ve seen on different forums no matter what the problem is, is to turn off all the plugins and switch to the default theme and see how it goes to ensure there’s no conflicts. That’s what I’ve done. I left only WooCommerce and Regenerate Thumbnails plugin, switched to the default Twenty Twenty-One theme and emptied cache. It still lists those:
thumbnail: 150×150 pixels (cropped to fit) medium: 300×300 pixels (proportionally resized to fit inside dimensions) medium_large: 768×0 pixels (proportionally resized to fit inside dimensions) large: 1024×1024 pixels (proportionally resized to fit inside dimensions) 1536x1536: 1536×1536 pixels (proportionally resized to fit inside dimensions) 2048x2048: 2048×2048 pixels (proportionally resized to fit inside dimensions) post-thumbnail: 1568×9999 pixels (proportionally resized to fit inside dimensions) woocommerce_thumbnail: 450×450 pixels (cropped to fit) woocommerce_single: 600×0 pixels (proportionally resized to fit inside dimensions) woocommerce_gallery_thumbnail: 100×100 pixels (cropped to fit)
I’ve also tried to turn off the WooCommerce plugin and I still have this:
thumbnail: 150×150 pixels (cropped to fit) medium: 300×300 pixels (proportionally resized to fit inside dimensions) medium_large: 768×0 pixels (proportionally resized to fit inside dimensions) large: 1024×1024 pixels (proportionally resized to fit inside dimensions) 1536x1536: 1536×1536 pixels (proportionally resized to fit inside dimensions) 2048x2048: 2048×2048 pixels (proportionally resized to fit inside dimensions) post-thumbnail: 1568×9999 pixels (proportionally resized to fit inside dimensions)
I would appreciate any other options in inspecting the issue further.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsHi,
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?
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsI see. Due to the high CPU usage, I had disabled wp-cron and added a scheduled task via cpanel (twice an hour). I hope there’s nothing wrong with that.
In the “WP Crontrol” plugin it looks like this:
View post on imgur.com
P.S. I attached the label with translation for the Ukrainian part on the image.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsHey, @davidanderson !
I’ve inspected logs now and got the results. Now, the pairs look like this:
[15-Sep-2023 00:30:12 UTC] s:22:"https://avtomig.com.ua";, backtrace: do_action_ref_array('updraftplus_clean_temporary_files'), WP_Hook->do_action, WP_Hook->apply_filters, UpdraftPlus_Filesystem_Functions::clean_temporary_files [15-Sep-2023 00:30:12 UTC] PHP Warning: preg_match(): Unknown modifier '/' in /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/class-filesystem-functions.php on line 196 [15-Sep-2023 00:30:12 UTC] s:22:"https://avtomig.com.ua";, backtrace: do_action_ref_array('updraftplus_clean_temporary_files'), WP_Hook->do_action, WP_Hook->apply_filters, UpdraftPlus_Filesystem_Functions::clean_temporary_files [15-Sep-2023 00:30:12 UTC] PHP Warning: preg_match(): Unknown modifier '/' in /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/class-filesystem-functions.php on line 206
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsHi @davidanderson ,
Excuse me, I’m a bit confused. The errors are generated by WordPress due to the errors in the plugin’s PHP code. I can’t simply find the error_log() that logs this and add something before it.
Unless I got you wrong, may be you meant to add the
error_log(serialize($match).", backtrace: ".wp_debug_backtrace_summary());
line before the lines in the plugin that cause the issue? I added it right before the problematic lines (195 and 203) in
updraftplus/includes/class-filesystem-functions.php
and am going to wait until the error triggers again. Am I doing everything right?And thank you for the addressing cpanel issue immediately, I will try that!
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsThank you for your efforts once again, @davidanderson ! Having gathered some statistics for this time I can tell it happens exactly every 12 hours and diverges with the schedule of backups (that are not set to be happening that frequently also). Additionally, I’ve made sure backup logs do not contain any of these errors. Here are some timestamps of these batches:
[08-Sep-2023 01:00:18 UTC]
[08-Sep-2023 13:00:19 UTC]
[09-Sep-2023 01:00:18 UTC]
[09-Sep-2023 13:00:10 UTC]
[10-Sep-2023 01:00:12 UTC]
[10-Sep-2023 13:00:27 UTC]
[11-Sep-2023 01:00:14 UTC]
[11-Sep-2023 13:00:14 UTC]
...I’m also trying to correct as many errors as I can, getting rid off unused plugins, writing my own code instead, assuming that’s a conflict, but no luck with the errors so far ??
UPD. Today, during the wp-cron (configure to run every hour) I got this. Seems it’s also related to updraft and this happened during the Updraft database backup:
Can't locate cPstrict.pm in @INC (you may need to install the cPstrict module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/lib /opt/cpanel/perl5/536/site_lib/x86_64-linux /opt/cpanel/perl5/536/site_lib) at /usr/local/cpanel/Cpanel/Math/Bytes.pm line 8. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Math/Bytes.pm line 8. Compilation failed in require at /usr/local/cpanel/Cpanel/Quota.pm line 18. BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Quota.pm line 18. Compilation failed in require at /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9. BEGIN failed--compilation aborted at /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9.
- This reply was modified 1 year, 6 months ago by yurchik1.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warnings@davidanderson Sure! One of the updraft backup files name (they are stored in my GoogleDrive):
backup_2023-09-08-1150_avtomigcomua_eb1d0dc368fe-others.zip
The warning messages in
/home/avtomigc/eror_log.txt
(repeatedly; exactly 56 times, two times today i.e. two batches of 56 pairs):[09-Sep-2023 01:00:18 UTC] PHP Warning: preg_match(): Unknown modifier '/' in /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/class-filesystem-functions.php on line 195 [09-Sep-2023 01:00:18 UTC] PHP Warning: preg_match(): Unknown modifier '/' in /home/avtomigc/public_html/wp-content/plugins/updraftplus/includes/class-filesystem-functions.php on line 203
- This reply was modified 1 year, 6 months ago by yurchik1.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warnings@davidanderson it’s in Ukrainian: АвтоМить
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsUPD. This may happen a couple times a day and do not depend on the process of backup (for instance, today it happened at 4 a.m. and at 4 p.m.).
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Unknown modifier warningsThank you so much for the answer @bcrodua ! I’m not saying Updraft is a reason of my high CPU usage. I’m just trying to get rid of any errors that might cause problems with it. These lines don’t seem to be stating about resources overuse, but I’d still like to have them removed.
Forum: Plugins
In reply to: [WooCommerce] Woo warningsSolved