Hi, we get an error 500 http://prntscr.com/kyd3gc how can we fix it, thank you.
Hello valiente123,
Notice that the 500 error is usually a server side error meaning that there is something wrong but the server couldn’t provide more information about the problem. It is a general error usually caused by configuration issues with the websites programming, PHP or system permissions.
I found here some useful information about possible reasons for this errors and a few tips in order to fix it: http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm Also, please try to disable all the active plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and rule out conflicting plugins. Also, please try contacting the hosting provider, tell them this problem and they should be able to provide a more accurate response.
NOTICE: Check this useful guide from here -> https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
Thanks for your understanding!
Hi catalin, my hosting service says” Please check your get_header function on line 6 of your index.php file.
Fatal error: Call to undefined function get_header() in /public_html/wp-content/themes/Newspaper/index.php on line 6″
there is nothing in index ? http://prntscr.com/kzrek3 can u help me pls
Hi,
That is a common issue in WordPress, there are quite a few topics about it. Some of them here
– https://forum.tagdiv.com/topic/fetching-with-google/
– https://forum.tagdiv.com/topic/theme-code-can-be-accessed-directly-outside-wordpress/
– https://www.wpproblems.com/how-to-fix-fatal-error-call-to-undefined-function-get-header/
– https://forum.tagdiv.com/topic/fetching-with-google/
– https://forum.tagdiv.com/topic/crawl-error-newspaper-theme/
– https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/
if related to Google Search console error – it’s a ‘soft error’…
This is an ancient problem with WP and Google – when you update a theme, your redirects are temporarily without a place to go and this can cause the ‘index’ file to load in the theme folder, and be seen by Googlebot. The only way to avoid this when doing site updates is to use a ‘maintenance mode’ plugin which pretty much tells the world “we are temporarily closed to do updates” — the main culprit, and one I have complained to WP about for a decade is their use of an index.php file as the default template vs template.php — so there is always an index.php file in your root theme folder which anybody on the web, including Google, can go to and it will try to load and then *correctly* generate an error — it’s not a public page.
One option is to use an htaccess file to setup a redirect for that to your main URL, make the permissions unreadable by outside sources, etc.
Or, simply mark it fixed in search console and get on with your life.
This issue has been posted in this forum at least 100 times now, so obviously a note about this in the FAQs might be helpful ?