Plugin Author
Aaron
(@aaron13100)
Are the PHP versions different between the working and the non-working site? (At the bottom of every 404 Solution page there’s a line that looks like this:
Plugin version: 2.20.2, PHP: 7.1.1, WordPress: 5.2.1, MySQL: 5.6.35, WP Memory Limit: 40M, mbstring Extension: true. You could paste the line here from the working site and the non-working site.)
Do you have the “Help the developer by sending error logs” option checked?
Do you have thousands of pages on the website that’s slow?
If you turn on debug logging we can see what’s happening with the plugin.
1) Settings -> 404 Solution -> Options -> Advanced Settings Etc -> Debug logging -> [check the box then click Save]
2) Then go to a 404 URL that takes a long time.
3) View the debug log: Settings -> 404 Solution -> Options -> Advanced Settings Etc -> View the debug file
4) Copy the last two pages to https://pastebin.com/ and give me the URL that’s created here so I can have a look at the log file. (Do not paste the log file here).
thanks
Here is the non working website info you asked for: Plugin version: 2.20.2, PHP: 7.0.33, WordPress: 5.2.1, MySQL: 5.6.43, WP Memory Limit: 256M
and here is the site it works with: Plugin version: 2.20.2, PHP: 5.6.30, WordPress: 5.2.1, MySQL: 5.6.41, WP Memory Limit: 40M
I have set up debugging now
Plugin Author
Aaron
(@aaron13100)
Great. Now that debugging is setup, if you could do some kind of operation that takes a long time, then paste the debug log to https://pastebin.com/ and give me the URL that’s created there so I can have a look at it then maybe there will be some useful information in there. (Do not paste the log file here).
thanks
Plugin Author
Aaron
(@aaron13100)
Hey. Thanks. If you know how many pages, posts, and redirects total you have, that might be helpful. Probably I already have everything I need though. I’m not sure when I’ll be able to fix this. I’ll get back to you.
Note: The issue is with getRedirectsForView.sql (32.57 seconds and 216.51 seconds). “maybeUpdateRedirectsForViewHitsTable creating later because create time was 58.893954992294 seconds”
Plugin Author
Aaron
(@aaron13100)
Hey thowarth91,
Please let me know if upgrading to version 2.21.1 changes anything for you.
thanks
Plugin Author
Aaron
(@aaron13100)
I’ll assume this is resolved. Please reopen it if not.