Post Not Display with 404 Error

hi support,

we are unable to troubleshoot what is the cause for this error. we are also facing an Internal 500 server error. We tried disable plugins and other solutions on the web but now we can log into wordpress but unable to see dashboard. It will prompt internal 500 error.

Website: http://scauto.com.sg/

Hi,

Try to reset permalinks by your .htaccess file located at the root directory of your site to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.

Then try to enable wpdebug in your wp-config.php file, by setting it to TRUE.

define('WP_DEBUG', true);

https://codex.wordpress.org/Debugging_in_WordPress

By setting it to true, it will make wordpress display the actual error message instead of error 500.

Thanks

hi,

there is no way I can access Settings - Permalinks, even if I rename the .htacess file. The moment I log into the wordpress I get a Internal 500 server error. However, if I access any page of the website, I can still see the wordpress black overlay menu at the top.

Hi There,

Right now, we can’t access to your WordPress dashboard to check the issues. Can you change the WP_DEBUG to true as the previous reply of @Paul.

Then provide us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

Thanks.

I have a feeling it may be due to Wordfence eversince they release the new update. Do you think so? I tried to FTP and remove and reinstall but the problem still persist. Even tried deactivating from the Plesk panel and remove also.

Hi Irin,

There is an error is due to Memory limit according to logged error, I went ahead and increased it through wp-config.php but it has no effect. What I noticed is, your site has Autoptimize and Faster cache plugin which are not present through FTP

Perhaps the FTP credentials is for another site? And I recommend contacting your hosting provider to get the actual error behind the internal server error. Because what’s being displayed is an error message from the host itself instead of the standard PHP error page.

Thanks!

Alright let me get them to check again before getting back to you again. I removed Faster cache plugin because I thought it might have been the cause of the error due to caching issue, but the developer didn’t offer much help when I went through their support.

Thank you.

Sure, let us know how it goes.

Thanks.

Hi Irin,

The error is related to this https://talk.plesk.com/threads/fcgid-timeout-60-seconds-end-of-script-output-before-headers.342641/

But yes, I’m able to see the plugins that aren’t present in your provided FTP. So they could be from different site.

But, I tried to rename them to disable them, example for htaccess. I got this message

Unable to rename /httpdocs/.htaccess: filemng failed: filemng: Error occurred during /usr/bin/file command.

These are all host environment issue, you should contact your hosting provider about these issues. And, I see from your account that Apache ASP support is off. Which could be the reason why it has 404 since htaccess’ URL rewrites are only applicable for Apache (not related to internal server error). But, if your server runs with IIS URL Rewrite then you should contact your hosting provider too for proper configuration since it’s no longer connected to htaccess (https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/importing-apache-modrewrite-rules).

Thanks!

hi support,

finally I have some progress and able to log into Wordpress dashboard after back and forth debugging from Wordfence plugin support. However, my homepage blog post is still unresolved yet. Could it be that I need to update the theme?

Also, when I tried to go to my admin login page, it display this notice message on the top of my browser:

Notice: Undefined index: WP_Widget_Recent_Comments in /var/www/vhosts/scauto.com.sg/httpdocs/wp-content/themes/x/framework/functions/setup.php on line 213

My wp-config.php file debug is currently set to true.

Hello Irin,

Thanks for updating the thread.

I see that you have updated X Theme to the latest version. Further checking the website I don’t see any issues with home page blog posts and it’s working fine. Regarding the error message, it’s a notice and can be ignored. I suggest you to turn off debugging in wp-config.php file.

Please clear the cache and see how it goes.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.