• Resolved mavman117

    (@mavman117)


    Hello,

    I am trying to get this problem sorted. I have imported a theme and imported the .json as well. I have a site that is fully editable however when navigating to any page I get an internal server error. I have performed all options suggested by the wordpress AI however I have not had much luck.

    First it suggested enabling debug however after enabling nothing ever got logged.

    Secondly it suggested disabling all plugins. All plugins have been disabled with no luck.

    Third it suggested modifying the .htaccess file. I labeled the old one .htacces.bak and then populated a new one by going into permalinks and saving. This did not remedy the issue. At this point I looked to other places for answers and one suggested modifying the .htaccess file. I did the modifications and this resulted in the pages loading without error however it broke the REST API and so no modifications to the site could be performed due to not being able to save. Also when the REST API broke it broke all footers, headers, ect and they could be seen in the editor however on the page they weren’t being detected.

    Any help would be greatly appreciated.

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator t-p

    (@t-p)

    Have you also tried switching to one of the default (Twenty*) themes?

    Thread Starter mavman117

    (@mavman117)

    Yes Sorry. I meant to put that in there. I have tried the 2024 and 2025 themes and get the same error.

    Moderator threadi

    (@threadi)

    The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

    Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.

    In both cases you should be able to see what the cause is in the logfile.

    Thread Starter mavman117

    (@mavman117)

    So the entire issue is that the new node was running php 8.5 and when I downgraded to php 8.1 everything started working. Apparently the theme I was given used something that got removed recently.

    Thread Starter mavman117

    (@mavman117)

    Nevermind. Downgrading fixed my error issue but not my header,footer, ect all broke….

    Thread Starter mavman117

    (@mavman117)

    Also I enabled debugging according to that and nothing ever populated in the log. I must have forgotten to mention that in my initial post.

    Thread Starter mavman117

    (@mavman117)

    And downgrading php killed my REST API so I can’t save now….

    REST API Endpoint: https://yfo.njr.temporary.site/website_6dc94724/wp-json/wp/v2/types/post?context=edit
    REST API Response: (404) Not Found

    • This reply was modified 1 month ago by mavman117.

    Hi @mavman117

    Those seem to be isolated cases.

    PHP 8.5 is too new and some plugins may not be compatible.

    For the “Server Error” if you got the white screen with big title “Internal Server Error” it usually won’t populate anything in debug.log but have a look at your server logs, but I would keep the site on PHP 8.3 or 8.4 which are here for longer time and most of compatibilities are fixed.

    As for your header and footer, did you check the browser console to verify for CSS and JS errors?

    Best Regards
    Patrick Freitas

    Thread Starter mavman117

    (@mavman117)

    Ok so I got the REST API error to go away. I apparently had to rebuild the .htaccess file to allow the REST API to start working again. As soon as I did this I started getting the Internal Server Error again.

    Here is the most recent error from my host provider :

    [Sat Feb 28 17:54:23.417420 2026] [authz_core:error] [pid 636793:tid 636971] [client 158.94.211.254:0] AH01630: client denied by server configuration: /home1/yfonjrte/public_html/website_6dc94724/.htpasswd

    That was from before I fixed the .htaccess file. If you could point me to the location of any other logs I would greatly appreciate it as I am unsure what “server logs” you are referring to at this point…

    I checked for errors and it does have a couple JS errors referencing : /wp-includes/js/dist/script-modules/block-library/navigation/view.min.js?ver=b0f909c3ec791c383210′ from origin ‘subdomain.domain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    Looking up how to fix this at the moment

    Added Note:

    Google said that the error was due to a mismatch between the site and the real domain and that I needed to make the domain the wordpress url and site url to fix. Upon doing this I got completely locked out and had to access the database to restore access by setting the site url back to the temporary url.

    More Notes:

    I found out that if I use the temp URL and then type the page after the /website_****/ then it navigates to the page properly. Also there are no errors with the JS when it is done this way so I am not sure why I cannot access it with my subdomain.domain.com address. Any insight would be appreciated.

    • This reply was modified 1 month ago by mavman117.
    • This reply was modified 1 month ago by mavman117. Reason: Additional Stuff
    • This reply was modified 1 month ago by mavman117. Reason: More info
    • This reply was modified 1 month ago by mavman117.
    • This reply was modified 1 month ago by mavman117.
    Thread Starter mavman117

    (@mavman117)

    Since my previous post has been in moderation for almost an hour can you point me to where additional logs may be?

    Thread Starter mavman117

    (@mavman117)

    There are JS errors because of the temp url and the actual url not playing nicely. Not sure how to fix it as when I set everything in wordpress to the actual url I can’t access wordpress due to the Internal Server Error

    Thread Starter mavman117

    (@mavman117)

    Here is something new as well. I have initiated a site URL change through my host. The url that is subdomain.domain.com says pending site url and shows the subdomain.domain.com/website_*** however when I click on it and it opens in a new tab it gives me the Internal Server Error as well so using that I can’t even see the home page.

    It seems like anything that is after the subdomain.domain.com makes that Internal Server Error come up…

    • This reply was modified 1 month ago by mavman117.
    Moderator t-p

    (@t-p)

    It seems like anything that is after the subdomain.domain.com makes that Internal Server Error come up

    Have discussed the issue with your hosting provider? If not, try discussing with them.

    Moderator threadi

    (@threadi)

    client denied by server configuration: /home1/yfonjrte/public_html/website_6dc94724/.htpasswd

    Are you using access protection via .htaccess (also known as AuthBasic) for your project? If so, it may be configured incorrectly because this file is missing or is being blocked by security mechanisms on the host. Your host’s support team should also check this.

    Thread Starter mavman117

    (@mavman117)

    Apparently I was just being impatient as once I woke up the site url had changed to what it was supposed to be and now all the pages are working correctly. I guess I will know this for next time.

    Thanks everyone that attempted to help!

Viewing 15 replies - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.