@cnxsoft Please contact your host and set permission to 0755 to /wp-content/uploads/wpo/directory-index/ folder.
Thanks. But I think the problem is not about file permissions.
# chmod 755 directory-index/ -R
# ls -l directory-index/*
-rwxr-xr-x 1 www-data www-data 1 Jun 6 12:03 directory-index/index2.html
-rwxr-xr-x 1 www-data www-data 1 Jun 6 12:03 directory-index/index.html
I still have the same issue. The previous permissions were 664. I think it’s because the plugin tries to list the files in a directory through http, instead of accessing the file system directly?
@cnxsoft Though it won’t impact the operation of the plugin, where do you see these warnings in WordPress admin or error log files?
@cnxsoft It won’t impact the opeartion of the plugin, you can ignore the warning
@bornforphp Thanks. I’ve noticed some slow response time in Google Search Console in the last few days around the time I started to see this error. I’m not sure it’s related, but I assume if the plugin makes a call to a webpage it may delay loading times? I’ll have to investigate whether it’s related to WPOptimize or not.
See screenshot @ https://www.cnx-software.com/wp-content/uploads/2022/06/slow-response-times.png
@cnxsoft Its not related to WP-Optimize, Have you performed a conflict test yet?
Try deactivating all plugins except for WP-Optimize and see if it is resolved.
If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.
Please let us know your findings.
If I disable all plugins I have to wait for four days for Google Search Console to update stats, and it would cause issues with the website. I have to find another way to test.
@cnxsoft You can create a staging site and test on the staging site?
@bornforphp I have some smaller websites that I could check. They don’t suffer from the issue, maybe the settings are different.
For what it is worth, when I look at the plugin code, it shows it was updated on June 6:
/wp-content/plugins/wp-optimize/vendor/rosell-dk/htaccess-capability-tester/src# ls -l
total 44
-rw-r--r-- 1 www-data www-data 10685 Jun 6 12:03 HtaccessCapabilityTester.php
-rw-r--r-- 1 www-data www-data 477 Jun 6 12:03 HttpRequesterInterface.php
-rw-r--r-- 1 www-data www-data 2046 Jun 6 12:03 HttpResponse.php
-rw-r--r-- 1 www-data www-data 1767 Jun 6 12:03 SimpleHttpRequester.php
-rw-r--r-- 1 www-data www-data 3012 Jun 6 12:03 SimpleTestFileLineUpper.php
drwxr-xr-x 3 www-data www-data 4096 Jun 6 12:03 Testers
-rw-r--r-- 1 www-data www-data 569 Jun 6 12:03 TestFilesLineUpperInterface.php
-rw-r--r-- 1 www-data www-data 2019 Jun 6 12:03 TestResultCache.php
-rw-r--r-- 1 www-data www-data 967 Jun 6 12:03 TestResult.php
Just for reference, plugins directory dates:
l/wp-content/plugins# ls -ld */
drwxr-xr-x 2 root root 4096 Jun 2 2020 a41573b932e24810b09949136b9a8445-15e4451e52c2e853a14c9a5cfc53d33bd2c63f73/
drwxr-xr-x 6 www-data www-data 4096 May 29 11:00 add-search-to-menu/
drwxr-xr-x 4 www-data www-data 4096 Jan 29 09:28 add-to-any/
drwxr-xr-x 6 www-data www-data 4096 Nov 17 2021 adrotate-pro/
drwxr-xr-x 7 www-data www-data 4096 May 29 11:00 all-in-one-seo-pack/
drwxr-xr-x 8 www-data www-data 4096 Apr 13 20:34 amp/
drwxr-xr-x 4 www-data www-data 4096 May 7 09:18 autoptimize/
drwxr-xr-x 7 www-data www-data 4096 Sep 8 2021 backwpup/
drwxr-xr-x 10 www-data www-data 4096 Sep 28 2021 broken-link-checker/
drwxr-xr-x 6 www-data www-data 4096 May 29 11:00 carousel-slider/
drwxr-xr-x 2 www-data www-data 4096 Jan 29 09:28 classic-widgets/
drwxr-xr-x 7 www-data www-data 4096 May 29 11:00 comments-import-export-woocommerce/
drwxr-xr-x 2 www-data www-data 4096 Dec 5 2020 content-anchor-links/
drwxr-xr-x 8 www-data www-data 4096 May 10 14:52 cookie-law-info/
drwxr-xr-x 9 www-data www-data 4096 May 17 21:14 disable-gutenberg/
drwxr-xr-x 7 www-data www-data 4096 Jul 16 2021 easy-wp-smtp/
drwxr-xr-x 10 www-data www-data 4096 Jun 8 09:29 ewww-image-optimizer/
drwxr-xr-x 9 www-data www-data 4096 Feb 25 2021 github-updater/
drwxr-xr-x 5 www-data www-data 4096 Apr 16 2021 gn-publisher/
drwxr-xr-x 6 www-data www-data 4096 Sep 19 2021 goodbye-captcha/
drwxr-xr-x 5 www-data www-data 4096 May 29 11:00 google-site-kit/
drwxr-xr-x 4 www-data www-data 4096 Aug 23 2020 header-and-footer-scripts/
drwxr-xr-x 6 www-data www-data 4096 Mar 1 2021 health-check/
drwxr-xr-x 8 www-data www-data 4096 Mar 7 11:02 html-forms/
drwxr-xr-x 5 www-data www-data 4096 Feb 27 17:48 lazy-load-for-videos/
drwxr-xr-x 8 www-data www-data 4096 May 29 11:00 limit-login-attempts-reloaded/
drwxr-xr-x 3 www-data www-data 4096 Apr 6 2015 maintenance-mode/
drwxr-xr-x 2 www-data www-data 4096 Aug 18 2019 nofollow/
drwxr-xr-x 6 www-data www-data 4096 May 29 11:00 options-for-twenty-seventeen/
drwxr-xr-x 4 www-data www-data 4096 Jan 7 20:58 page-sidebar-for-twentyseventeen/
drwxr-xr-x 4 www-data www-data 4096 Jun 18 2019 pending-submission-notifications/
drwxr-xr-x 8 www-data www-data 4096 Apr 17 18:04 query-monitor/
drwxr-xr-x 3 www-data www-data 4096 Jul 31 2021 recent-posts-widget-with-thumbnails/
drwxr-xr-x 11 www-data www-data 4096 Feb 8 16:25 redirection/
drwxr-xr-x 6 www-data www-data 4096 May 29 11:00 redis-cache/
drwxr-xr-x 4 www-data www-data 4096 Feb 4 2012 share-and-follow/
drwxr-xr-x 5 www-data www-data 4096 Apr 14 16:26 simple-author-box/
drwxr-xr-x 3 www-data www-data 4096 Jul 13 2021 simple-icons/
drwxr-xr-x 10 www-data www-data 4096 May 5 11:32 simple-tags/
drwxr-xr-x 4 www-data www-data 4096 Feb 4 2012 sociable-30/
drwxr-xr-x 11 www-data www-data 4096 Jul 25 2021 tablepress/
drwxr-xr-x 5 root root 4096 Mar 10 2021 tablepress-responsive-tables/
drwxr-xr-x 2 root root 4096 Sep 23 2015 tablepress-table-auto-update/
drwxr-xr-x 3 www-data www-data 4096 Jun 7 2021 tinywp-mobile-detect/
drwxr-xr-x 10 www-data www-data 4096 Jan 7 20:58 urvanov-syntax-highlighter/
drwxr-xr-x 7 www-data www-data 4096 May 7 09:18 user-role-editor/
drwxr-xr-x 6 www-data www-data 4096 Apr 23 11:59 whp-hide-posts/
drwxr-xr-x 6 www-data www-data 4096 Jan 16 10:53 wordpress-popular-posts/
drwxr-xr-x 12 www-data www-data 4096 Jun 1 20:18 wordpress-seo/
drwxr-xr-x 8 www-data www-data 4096 Sep 27 2020 wordpress-social-login/
drwxr-xr-x 3 www-data www-data 4096 Sep 29 2019 wp-anchor-header/
drwxr-xr-x 5 www-data www-data 4096 Apr 17 18:04 wp-crontrol/
drwxr-xr-x 9 www-data www-data 4096 Apr 2 08:57 wpdiscuz/
drwxr-xr-x 13 www-data www-data 4096 Jun 6 12:03 wp-optimize/
drwxr-xr-x 5 www-data www-data 4096 May 29 11:00 wps-hide-login/
drwxr-xr-x 7 www-data www-data 4096 Jun 8 09:29 wp-super-cache/
drwxr-xr-x 9 www-data www-data 4096 Feb 5 2012 wp-table-reloaded/
drwxr-xr-x 6 www-data www-data 4096 Jan 22 21:29 xml-sitemap-feed/
drwxr-xr-x 11 www-data www-data 4096 Dec 3 2021 yet-another-related-posts-plugin/
After June 5, three plugins were updated:
June 6: wp-optimize
June 8: ewww-image-optimizer and wp-super-cache
So I guess I should focus on those three. The problem started on June 6, but I can’t remember if the June 8 plugins were updated before that.
-
This reply was modified 3 years, 12 months ago by
cnxsoft.
@cnxsoft May be auto update on your WordPress site updated WP-Optimize to latest version?q
I do updates manually. How can I get the previous version of WP-Optimize? I’d like to downgrade to see if it makes any difference?
@cnxsoft Please go here: https://ww.wp.xz.cn/plugins/wp-optimize/
And click on Advanced view on the right hand side: https://prnt.sc/4vHxi0rIIHn_
Once you are on Advanced View page scroll down to Previous version and select 3.2.3 from the dropdown: https://prnt.sc/3A8wBmSOKNyb
@bornforphp Thank you. I’ve just downgraded now (June 18).
The warning is gone, and I’ll check the Google Search report in about four days to see if anything has changed with response times.