It seems like you might have done some syntax error etc please add these lines to wp-config.php to check error
If you have backup of your previous file, restore it to check error if any are there.
error_reporting(E_ALL);
ini_set('display_errors', 1);
define( 'WP_DEBUG', true);
500 errors can frequently occur with incorrectly configured rewrite rules contained in your “.htaccess” files, so you should probably try removing those from your folders to see if it’s the cause. Keep a backup of those files of course, you might still need them. But in your case it was working before and you had made changes in template file so reason seems like syntax error.
Thanks!
Related Posts:
- What are PHP extensions and libraries WP needs and/or uses?
- 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
- 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?
- Incorrect MIME type for assets with Valet
- wp-comments-post.php file returns a blank page
- Configure Php server with ISAP
- WP & Server Speed [Teacher Question]
- 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?
- HTTP ERROR 500 after installing child-theme [WordPress] [closed]
- 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
- wp_signon works local, not on https
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- Unexpected behavior when trying to manually install WordPress on macOS Sierra
- 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
- Published custom posts missing
- WordPress Memory limit not increasing
- PHP 7.3 is required for WordPress 5.2 or Recommendation
- what to do after instlling cyberpanel on VPS
- How to create a build for quickly deploying a server with WP?
- Enabling pretty permalinks with Docker, Multisite WordPress and Caddy
- wp_remote_post empty $_POST
- register_setting & add_settings_error validation issues with multiple fields
- PHP code for displaying WordPress posts in a static page not working
- How to add PHP code in functions.php wordpress
- How can I spin up a new website for a registered user automatically?
- How to override url params with rewrite rules vars?
- WordPress wp-admin redirect and exception
- Can I make get_users() query global?
- Using Argument from Function to Re-Direct Visitor (WordPress)
- Use $wpdb or other PHP script method to find/replace in WP database
- Add product to cart for user – WC()->cart->add_to_cart [closed]
- What is the alternative code to if (isset ($_POST) && !empty ($_POST) to avoid warnings?
- preg_replace regex problem
- Compare $_POST returned values with term array
- Remove item in Checkout
- email alert for product availability
- How to Update post_modified of all wordpress post
- How to Change CSS Colors from Custom Plugin Settings Page
- malware undetectable by multiple scans
- how to serialize() mysql update data
- Simple WordPress endpoint route doesn’t work
- Correct PHP to output a single result of a Function with SQL Query
- How to relocate paypal button gateway on checkout page in woocommerce
- How to create a field in customize and show that in header.php?
- WordPress shortcode returns the data before
- Passing the name of selected color from the custom component to `render_callback`
- I am receiving a pluggable.php warning sign on my only http:// page
- How to remove the h6 tag for the entry-category Class
- your php installation be missing the MySQL extension WordPress CPANEL [closed]
- Can’t add script immediately after the opening tag on login page?
- Find Site ID From WP_Post
- Is it possible to create new user from external form using REST API?
- WP_Query: getting posts where custom field exists
- Foreach loop inside an array_merge
- page-slug.php not working but only for specific slug
- {$key} or $key?
- How to show meta value code HTML after x paragraph
- Redirect to a page for only logged in user
- Send a mail to specific address in a custom field when a new comment is made on a specific post
- Display the 3 latest WordPress Posts on a Static Page Outside WordPress
- Export Form Data to a CSV then send it as an attachment – contact form 7
- Override user-edit.php to design own profile page
- Live to Local on MAMP, not working, outputting functions.php code
- Remove extract from function
- Undefined offset: 3 in custom function
- List all blogs, but exclude the main site
- How to append to an array and return the results in a filter?
- How to specify the path for require_once in a child theme?
- Set site title & tagline with wp.config or function.php
- How can I add a new row in a separate database when someone registers via WordPress?
- Shortcode to embed Edit Account form not working
- Redirecting to a custom forgot password page
- How to pass a variable to get_template_part that’s updated every time the template part is called?
- Warning: printf(): Too few arguments in helpers.php file
- $_SESSION variable not saving on page refresh or new page
- Form search query – displaying ACF “Post Object” field as results
- Errors after upgrading PHP to 7.4 WordPress
- Design with Elementor and code the rest?
- Add additional functions file instead of functions.php
- How to make jquery count down timer function manually editable