In general a 500 Server Error
can be solved (or at least be correctly identified) by looking at php logs. If you are on a shared hosting you should have something in your hosting’s control panel to check the logs (look for Error
messages), if you are self-hosting on your own vps you can usually find the logs in the /var/log
directory.
This said, the current theme in WP is stored as two entries in wp_options
, which are template
and stylesheet
. Name back the theme directory like the original one, write down the directory name of the original theme, and put it as the field value for wp_options.template
and wp_options.stylesheet
. At this point WordPress is, if you haven’t touched anything, be in the same state as before you child-theme’d.
Refer to the first paragraph of my answer and edit the answer with the php error so we can look at it.
Related Posts:
- 500 Internal server error after changing php version
- Can php warnings cause an Internal Server Error?
- Internal server error when enabling Multisite in WordPress
- What are PHP extensions and libraries WP needs and/or uses?
- How to create custom 401, 403 and 500 error pages?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Can I view my own wordpress php source code on my hosted web server?
- How to clear WordPress Cache from Server/FTP/Remote location
- How do I test PHP files in WordPress?
- PHP Code stuck in Cache [Memcached] [closed]
- WordPress Site front End and Back End Loading Slowly
- Evaluations of two wordpress security plans against php code injection attack
- APC 500 Internal server error [closed]
- WordPress Site Running Extremely Slow on Dedicated Server
- How to enable Zend Optimiser+ with Batcache
- Can you run WordPress on a MarketLive/Java EE server?
- How to Fix “Are You Sure You Want to Do This”, while uploading my theme?
- Incorrect MIME type for assets with Valet
- How do I Turn This Into An if statement?
- wp-comments-post.php file returns a blank page
- Configure Php server with ISAP
- WP & Server Speed [Teacher Question]
- Plugin PHP file gives error 500 [closed]
- 3 different times on my WordPress website
- WordPress hit memory limit but not from the server
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- How can I find the cause of a 500 server error?
- WordPress mod_rewrite not working on php fpm
- Problems clearing cache
- How to prevent a function from running based on host (ie web vs local)?
- Reject all malicious URL requests functions.php
- How can I update WordPress plugins or WordPress itself in all server?
- current_time function incorrect in plugin and PHP, not in WordPress admin
- (solved) WordPress Site not loading properly
- Internal Server Errors – Moving working multi-site install to my localhost
- wp_signon works local, not on https
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- 500 Error, Get custom field and returning it
- Unable to update plug-ins – Undefined index a:1:{s:3:”ssl”;b:1;} in class-requests.php on line 213
- Unexpected behavior when trying to manually install WordPress on macOS Sierra
- My WP Website Shows HTTP ERROR 500
- Creating Log-In Page for backend server
- Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge
- Ajax call URL 404’ing when pushed to staging server
- PHP Shortcode – 500 error
- Published custom posts missing
- Trying to display ads on only a third of posts in a loop. Keep getting Error 500?
- WordPress Memory limit not increasing
- changed front-page template gives 500 error
- PHP 7.3 is required for WordPress 5.2 or Recommendation
- HTTP 500 Error after Creating Shortcode
- what to do after instlling cyberpanel on VPS
- WordPress and event-driven programming – what is it about?
- How WordPress encrypt password? [duplicate]
- Retrieve POST data from AJAX call
- Adding a custom image upload size and making it selected by default?
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- Limit the Excerpt field in WP-Admin in words
- How to change / delete product short description in Woocommerce
- How do I show the featured images for my child pages on my parent pages?
- WP_Query loop, does not display special characters in title correctly
- Remove query string specific key value
- How do I get current page ID in WordPress customizer file?
- How to run a php file that uses wordpress functions from command line?
- WordPress Ignoring .user.ini
- Cron events are disappearing, or cannot be updated in WordPress
- Prev/Next child navigation for current page modifications?
- Show success or error messages in Ajax response to WordPress custom registration form
- Is there a built-in function to generate multiple paragraph tags based on a string with new line separators?
- Site downloads files instead of loading them
- Saving data from custom form in wordpress database
- Integrating Yii2 and WordPress
- After disabling WPML multi currency, the currency is still handled by the WPML
- GravityForms Limit Submission Per Time Period by User or IP by 30 minutes?
- Programmatically revert to backup .htaccess a possibility?
- Prevent post from being published and show error
- how to get wordpress page url php code [duplicate]
- Problems updating nested ACF field groups
- how to pull all usernames from a custom user role, then do some array modification
- Unable to delete related media attachments with deleted post
- separate list of programs in html/javascript coming from php
- Is there a PHP function that will return the block ID generated by WordPress?
- retrieve “Link Color” value
- Issues adding Recaptcha v3 to WordPress Registration
- Hide comment notification number and buttons in wp backend
- Create html tree sitemap
- meta field for numerous links
- Custom HTML form using PHP – help with ajax/username validation
- Where can I find the declaration of `$_wp_theme_features`?
- How I can add div to menu?
- How to print redirected query string variables to the page?
- Multiple URL from Custom post name
- Admin-area broken through weird issues
- Display a query with multiple post types and same relationship on a single page
- Get string from array and start loop [closed]
- Custom query_posts() parameter
- wp_link_pages return value even when is condition inside if statement
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- Hide category by tag