A 500 internal server error is generic, for when a more specific message is not available.

learn more… | top users | synonyms

15
votes
2answers
8k views

How to create custom 401, 403 and 500 error pages?

When a 404 error is encountered, a 404.php template file can be used to render a custom error message. This is documented in the Template Hierarchy article. My aim is to create custom error pages ...
4
votes
3answers
1k views

.htaccess and 500 error, extra character added

I am having a weird problem. Every few days I go to my website and get an "Internal Server Error" - Or 500 error. I go into the .htaccess file of the site and notice it's been altered. One character ...
3
votes
1answer
82 views

Calling a wp_query $posts causes a 500 error

I had a very basic wp_query, below: // WP_Query arguments $args = array ( 'post_type' => array( 'post' ), 'post_status' => array( 'draft' ), 'posts_per_page' ...
2
votes
1answer
11k views

Why is a 500 error generated by admin-ajax.php not going into the Apache error log?

I'm getting 500 errors with AJAX on the admin side. However, these errors aren't being logged in the Apache logs so they're rather hard to debug. Is there some way I can find out what they are? ...
2
votes
2answers
689 views

What might cause a POST to wp-admin/async-upload.php to return JSON >and< HTML?

In the media tab, upload of a valid image file results in display of "HTTP error". Reload of the media tab shows that the image did upload and resize, though. Browser debug tools show that on ...
2
votes
0answers
821 views

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...
1
vote
1answer
516 views

500 error on front-end but not on admin

I uploaded a brand-new wp install to my host. I am able to access the admin, and all its settings just fine, but I get a 500 internal error on the front-end. I have tried solving this issue by: ...
1
vote
1answer
1k views

500 internal server error

I am facing 500.0 Internal server quite frequently with my website. The error details are given below. HTTP Error 500.0 - Internal Server Error C:\PHP\php-cgi.exe - The FastCGI process exceeded ...
1
vote
2answers
2k views

APC 500 Internal server error [closed]

I have a blog running on a FreeBSD 8.1 system with PHP 5.3.5 and APC 3.1.6. At first everything seemes fine, but after a while (about 18-24 hours) all pages are served blank, and with a status code ...
1
vote
0answers
10 views

Unable to edit the “customize” section and the “widget” section is populating unknown code

My WordPress site is experiencing some major issues. I am getting a 500 server error when attempting to change the "customize" side bar, and the "widget" section is acting really weird (populating ...
1
vote
0answers
48 views

Blog page Server error 500 with stick post loop in query.php

Using sticky post on site near about 5000 sticky post i have. In wp-includes/query.php here i have bellow snippet code.on line 3748 to 3760.If i comment this code the blog page work properly. if ...
1
vote
0answers
47 views

Redirect to localhost after installing Multisite on server

After preparing the site on localhost, I uploaded it on server. Everything works fine by adding both lines to define WP_HOME and WP_SITEURL on wp-config.php and replacing the url site in the database ...
1
vote
2answers
37 views

How do I Turn This Into An if statement?

PHP noob here. I've got this query I've written to get the information of all child pages of the page you're currently on: <?php $pages = ...
1
vote
0answers
89 views

get_home_path() returning error 500

I'm using get_home_path() because i need to store a file from a temporary directory to an archive folder (i'm doing this using php's copy() function). The problem is that get_home_path() returns me ...
1
vote
1answer
2k views

Wordpress 500 Internal server error when activating custom theme [closed]

Whenever I try to activate my custom built theme on the clients server, the website returns a '500 - Internal Server Error'. The theme is working fine on my local machine, MAMP on my mac. I dont ...
0
votes
3answers
1k views

500 error after update

I had a working (test) blog, and during an update from 3.2.1 to 3.3.1 - something went wrong , I think the update did not finished.. Just before the Update, I have enabled a new theme (all functions ...
0
votes
3answers
5k views

Debug 500 Internal Server Error on WordPress blog

My WordPress blog is hosted on a shared webserver on Hostgator. I've been having 500 Internal Server Errors the last couple of days. I haven't installed any new plugins since the errors started ...
0
votes
3answers
234 views

Website goes down while importing backup (Internal server 500)

I have a WordPress website running on a machine. PHP has allocated memory of 128MB. Since I have two WP sites being host under same hosting it is consuming around 95MB out of 128MB on normal load.. I ...
0
votes
1answer
759 views

500 Internal Server Error after Register dialog, but with successful registration

I get a 500 Internal Server error if I try to register a new user. This user will be created successfully, but I don't want that my users will see the error page and, therefore, think that something ...
0
votes
1answer
1k views

How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize

problem: Only some blogs did not show the dashboard (but did show all other admin pages). I have left this problem for some time (months) since Googling did not bring up anything relevant and I was ...
0
votes
2answers
48 views

How to get a Custom 500 Error Page to show?

I created a 500.html file and would like to get this page loaded for my wordpress site. I'm running on XAMP localhost for now, but I've never done this sort of thing before and would like to be able ...
0
votes
1answer
49 views

Disable Garbage Collection? [closed]

I have a WP site which creates 500's errors for about 2% of Apache requests (mostly bots and crawlers). I'm not able to stack trace most of those requests with 500's neither to PHP or MySQL errors as ...
0
votes
1answer
160 views

Sort Wordpress Archive by multiple oderby arguments in pre_get_posts action

Actually this private function in my function.php works, BUT: i often get Error 500 by the Server on the first load, often it renders AFTER reloading the page. ## change the sorting order on archive ...
0
votes
1answer
130 views

unexpected '$mm' (T_VARIABLE) in wp-includes/functions.php

I have a few Wordpress sites and all are down: An unexpected condition was encountered while the server was attempting to fulfill the request. Error code: 500 When I look at the apache log, ...
0
votes
1answer
739 views

How can I prevent '500 internal server error' because of a long install process?

In one of my plugins, I need to insert about 1000 terms into a custom taxonomy while installing a plugin. I see it's sometimes causing 500 internal server error. How can I split that work or prevent ...
0
votes
2answers
118 views

Function prints post meta data does not work [closed]

I modified this code from the Twenty Eleven theme but it doesn't work and I cant see why. if ( ! function_exists( 'theme_post_meta_data' ) ) : /** * This function prints post meta data. * * ...
0
votes
1answer
704 views

What would cause a 500 Server Error with permalinks turned OFF?

I'm using the "default" setting for permalinks, at least I just switched back to that, and I'm still getting a 500 response code when trying to get to any post page like mysite.com/?p=4536 I can see ...
0
votes
3answers
3k views

500 Internal Server Error when Trying to Save Menu [closed]

I've got a few dozen pages in my menu. When I try to add new pages to the menu, then Firefox gives me the "connecting" message int eh tab and it eventually stops after a few minutes and gives me an ...
0
votes
1answer
32 views

Wordpress Install - “end of script output before headers” when running simple php script

I have a multi-site Wordpress installation for a client, and for one of the forms I need to do some manual database interaction as the feature is separate. The problem I'm having however, is that any ...
0
votes
2answers
35 views

Weird Cron Error

So my wordpress site keeps going down from a 500 error, about once a day now. The entire site, including the wp-admin, will go down and stop responding to all requests with a 500 error. If I enable ...
0
votes
0answers
21 views

Page cache causes internal server error

I'm trying to speed up a WP site I'm working on and have activated W3 Total Cache. When I activate the page caching, it causes an internal server error. The site scores nearly perfectly on Google ...
0
votes
0answers
11 views

Error 500 in single post page after deactivating Wp Cache Plugin

Everything was fine in my blog, until I deactivated the Wp Cache plugin and it suddenly stopped loading every single post pages. It simply appears Error 500 and do not load anything at all, as you can ...
0
votes
0answers
42 views

Duplicated with Duplicator - Wordpress site to subirectory - 500 error constantly

I had an old website hosted in a subdirectory on the main domain that worked fine. Developed the new version of the site on a test domain in a subdirectory. Duplicated the site using duplicator to ...
0
votes
0answers
60 views

My website in Internal Server Error 500

I am facing 500 Internal server Error in my website. I'll insert some code in php.ini, memory=64mb in wp-admin/folder How can I resolve this error...
0
votes
0answers
26 views

500 error after WP homepage url changed

So, I have error 500. I tried to replace with old htaccess file, but Wp don't let me login cause I have offline mode. How can I set wp url back? SOLVED Add these two lines to your wp-config.php, ...
0
votes
0answers
24 views

My homepage is gone but header is still there

I just updated a page on the website, not the homepage, and then clicked to view the change. It was fine, but when I clicked to navigate to the homepage the only thing that was showing was my header ...
0
votes
0answers
40 views

How to resolve 500 error in post listing page?

I am getting a 500 error in only post listing page. I checked code in admin and found this hook creating a problem: admin_head-$hook_suffix When I remove this hook, page works fine. How can I ...
0
votes
0answers
109 views

500 error even after restoring to a working functions.php

While changing the functions.php file to edit who can see the wordpress toolbar I managed to return a server 500 error after the page as updating. I've since restored my backup of the previously ...
0
votes
1answer
89 views

PHP Shortcode - 500 error

I have been working on a shortcode with help from this article: http://code.tutsplus.com/tutorials/create-a-shortcode-to-list-posts-with-multiple-parameters--wp-32199. I have tried to do what the ...
0
votes
0answers
68 views

WordPress displays 500 error on PHP errors

For some reason WP is showing a generic 500 Internal Server Error page when I have PHP errors in my code. I have set WP_DEBUG to true, and the following settings in my php.ini file: error_reporting = ...
0
votes
0answers
455 views

How to Fix Wordpress 500 Internal server error due to custom post type

I am using couponXL theme for my site. Everything is working correct but except one ie., custom post type. In the theme , there is a plugin called CouponXL custom post type. This plugin is included to ...
0
votes
0answers
63 views

Wordpress site, crawlers, bots and Apache error 500

I have noticed that 80% of Apache access log and 500 error response was generated by crawlers and bots. Log examples below: 183.79.223.15 - - [25/Sep/2015:13:03:20 -0400] "GET ...
0
votes
0answers
35 views

Wordpress migration ended with 500 Error page on pages excluding homepage

I migrated wordpress form my localhost to two different places: 1) Home localhost with same attributes, name of database, directory paths and database passwords 2) Hosting directory with different ...
0
votes
2answers
202 views

wordpress ajax contact form - error 500

I've tried to create a simple ajax contact form plugin. all things seems good till user push the "send" btn. it sends error 500. this is my script.js codes: jQuery(document).ready(function(){ //Get ...
0
votes
0answers
102 views

Permalinks setting raises 500.0 error

We were changing our wordpress site to use pretty links, but discovered that it broke old links. We tried to revert our changes, but whenever we open up /wp-admin/options-permalink.php (and only that ...
0
votes
0answers
118 views

Plugins don't show up after renaming plugins folder

I had to rename the wp-content/plugins folder, because I had this error 500 issue, when trying to access the /wp-admin path. Then I logged in and renamed the wp-content/plugins folder again. Now the ...
0
votes
2answers
53 views

Whats is the meaning of this error 500

I have the following error: The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of ...
0
votes
1answer
347 views

Internal Server Error and bad CSS

I'm currently working on a WooCommerce website that is facing a lot of Internal Server Errors and sometimes even bad CSS. An example of bad CSS: The site loads like this at times, when it should ...
0
votes
0answers
135 views

Why doesn't a custom template page with pure html work?

I've tried to create a landing page on my website from an HTML template I have. Everything worked fine until I copied the contents of HTML into the custom page file I created. So, the problem is when ...
0
votes
2answers
89 views

500 error when updating plugin option

I'm trying to debug a strange issue that happens on one my plugin's users system. The issue: When i submit my Plugin's Settings form (option-general.php?page=pluginname), I get a 500 error message. ...