What did you do if anything? Any updates to apps or what not?
Go to Settings > Permalinks and click Save. Don’t do anything else, but click Save
You seem to be using PHP 8.2.13, if you made this switch recently, try downgrading. You have a custom theme, and it could be outdated. Outdated code could cause different issues, including yours. You can also enable debugging mode and see logs to see if you have any leads there.
You have also added some redirects, for example, https://www.proscubadiver.net/sitemap.xml redirects to https://www.proscubadiver.net/sitemap.xml/ make sure to correct these, and add a redirect from http to https after updating your links.
Thread Starter
rkg04
(@rkg04)
@serafinnyc, thank you for your response. I have already tried saving permalinks without changing them, as well as trying to change the structure of them. Still no progress.
No updates or changes were made by me or my team member.
Thanks!
-
This reply was modified 1 year, 10 months ago by
rkg04.
-
This reply was modified 1 year, 10 months ago by
rkg04.
Thread Starter
rkg04
(@rkg04)
@ashutosharma97, thank you for your response. I have downgraded my PHP version to 8.1, 8.0 and 7.4. Still no changes.
I have enabled debugging mode and will check to see any info from the logs.
Thanks!
If you are able to access WP dashboard, you should install Query Monitor plugin. It will add a panel to admin topbar, which can be helpful for debugging purposes.
Thread Starter
rkg04
(@rkg04)
@ashutosharma97, I have installed the plugin as well as read the debug log. There are a few deprecated errors, and one error. I’ve tried dealing with it before to no avail.
‘WarningConstant ABSPATH already defined: wp-config.php:58’
I have checked multiple times and used a search command in terminal (grep -rnw /home2/proscuba/public_html -e “define(‘ABSPATH'”) and there is not a repeat definition of ABSPATH.
You have only considered one case, where the code is using single quotes. Try this instead:
grep -rnw /home2/proscuba/public_html -e "define(['\"]ABSPATH['\"]"
It will include both 'ABSPATH' and "ABSPATH" strings.
Anyway, coming back to the main problem, you should see if the correct template is being loaded, Query Monitor lists that. And you should also check the “Request” panel to see how is WP handling the request.
Thread Starter
rkg04
(@rkg04)
I considered the other case of double quotes, still only returned the single definition unfortunately.
Will try again now, thank you for youre response.
Thread Starter
rkg04
(@rkg04)
I have managed to fix it so that the pages now show correctly. However, I’m not sure if you can see or not, but the header/menu has been altered and now includes duplicate buttons.
You should be able to remove extra items from Appearance ➜ Menus ➜ Select your header menu there to edit it.