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
- How to create a build for quickly deploying a server with WP?
- WordPress Insert line in DB when clicking a button
- How do I see logs of critical errors of specific pages without enabling public debug for everyone?
- I can’t change version of PHP
- Enabling pretty permalinks with Docker, Multisite WordPress and Caddy
- Facing 503 error on PHP files after deleting hidden files from the root folder
- What does that mean: cannot use a scalar value as an array [closed]
- Using the wp_remote_post response body
- AJAX: WordPress filters inside $html do not work as intended
- How to insert a variable into a query parameter?
- wp_link_pages return value even when is condition inside if statement
- How to edit homepage in WordPress?
- Adding Custom JQuery Menu Fresh Slide Out
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- php nested IF statements to hide content (possible syntax error) [closed]
- problem with php function error
- Errors while Loading Most Recent Version of jQuery
- Integrating CSS Into a WP Function Call [closed]
- WordPress menu links with images & class selection
- How can a ‘scripts’ directory be hooked into wp_head();?
- Use php array outside his function
- Fix incorrect related posts code snippet
- Comment section not appearing on posts with no comments
- Specific php document for a page
- HTML in PHP problem [closed]
- How to handle PHP parse errors?
- which table updated after logout?
- Implement “No related posts for this entry” into the loop?
- PHP code for link with text
- wc_add_notice not working on cart page
- Order woo products, but first products must be with acf fields
- How to convert my comment.html to comment.php
- Why not showing all post by default in my jquery filter
- php-page with db connection
- how to add display_name
- how to convert wordpress query to pdo query
- how to import contacts from php to wordpress
- Remove /category/ from category (archive) page URLs (without using a plugin)
- Accessing WordPress Functions get_permalink() in Vanilla PHP?
- Display a list of posts corresponding to a category
- How to add active class dynamically
- Gravity Forms – Prevent Multiple Form Entries Same User ID with Same Field Value
- Change background image based on tags
- How keep woocommerce users separeted in multisite install and keep admins on network
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- How to show only part of product name in category page – WordPress with woocomerce
- Setting WooCommerce currency programmatically