• Hello,

    Earlier on today someone of my team encountered a problem with one of our websites, https://www.proscubadiver.net/. After playing around for a bit, i fixed it and the front end and back end were now accessible again.

    However, as you can probably tell from the link, the entire site is now experiencing the dreaded ‘not found’ error. I’m completely unsure where to go from here as i’ve spent more than 3 hours trying to repair it. Any help would be greatly appreciated.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Stef

    (@serafinnyc)

    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 11 months, 1 week ago by rkg04.
    • This reply was modified 11 months, 1 week 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘404 Error on Entire Website’ is closed to new replies.