I had a customer post a listing and I approved it. When I approved it my home page gave me an HTTP 500 error. This happens on both Chrome and IE. When I unpublished the listing everything works just fine. I disabled and re-enabled all plugins individually to see if it was a plugin error. Only the pages that this listing affects don't work when I publish it.
The Listing page is: https://roofingcompaniesomahane.com/listing/llseamlessgutters/ and the webpage is https://roofingcompaniesomahane.com/
I tried to find the listing to have a close look at it but I assume you have removed it? Any way I would do several things: 1. As the error message suggested inspect the server logs to see what possibly caused the problem. 2. Remove/correct the offending L&:L in the title and check for it in the text. 3. Copy/remove all the body text to see what happens. 4. Look at it in 'Text' view to make sure that no malicious code has been inserted with white text colour! 5. Make sure that you have enough server resources as this may have been the memory tipping point! 6. delete the listing and manually insert it as administrator. One of the above should lead you to a solution to the problem, are you on a late version of the theme? Hope this helps Roger B
I did all of that and it didn't work. I also disabled all plugins. All tended to break my site. I'm using GoDaddy WP Hosting if that matters.
Then you must start from the basics and build up a test page to see when you hit the problem. Insert a new listing and enter the title under the admin IDE. Have a separate browser running to preview the listing. Start entering text, saving and then previewing until you hit the problem. Check the memory allocated for the site as it may not be able to use a minimal amount.
So I did exactly what you said. I found out that it was the featured image that was causing the problem. The customer uploaded the image. The problem must be with the coding of the title contained: L&L and some other code. I tried changing the title to L&L Logo and it didn't fix the problem.
OK, so try exporting the image to your desktop and then rename it (use underscores rather than hyphens, spaces or dots) In the IDE temporarily change the ownership of the listing to yourself, now delete the original image in the listing, upload the new renamed image, set it as the featured image and update the listing. If all is OK set the ownership of the listing back to the user and update the listing again. I often use the '&' in listing titles with no problem as Wordpress is quite flexible but I've never used an image with it in its title/file name. Hope this makes sense and helps. Roger B
That did not work either. I transferred it to myself. downloaded the JPG. Changed the name to LLseamless.jpg and then when into edit page on the user side. I uploaded the image successfully but as soon as I left the page all other pages were broken. I backed up, deleted the uploaded image, saved the updated page and the site works again.
I finally got it fixed though I don't like how I did it. I simply print screened the image and re-uploaded it. There must have been some internal code that it didn't like. I'm more concerned that it actually broke the whole website when the original image was uploaded. I uploaded the original file if anyone cares to take a look.
Strange behaviour indeed! Must have been some corruption in there somewhere or even some malicious code added in to it, glad its fixed though!