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
- What is the best php version to use with WordPress?
- How to call a function only once (global variable scope)
- Where should I install a PHP library into WordPress so that code in a webpage can activate it?
- Does the debug.log do log rotation?
- How to make WordPress plugin check for database changes and then do something?
- Edit postmeta when user changes user role?
- Looping through WP_Post Object
- wp_get_attachment_url filter won’t accept two arguments
- Translating add to cart woocommerce button [closed]
- nowplaying.include.php Will Not Display Results
- Am I not understanding plugins?
- SetCookie simply not working
- Looking for most performant way to execute several similar WP queries within shortcodes
- Customize Time Stamp
- Combine two filters into a single call
- How to output widget
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- Display menu point only if there are published posts in that category
- What query string parameter is available for index.php, that works for both pages and blog articles?
- Sending data from custom inputs in WordPress comment form in the admin notification email
- export a csv file from the database with a cronjob
- How to set a min number of words for a blog post
- Modify custom field input data before creating a new post
- Ajax contact form return 0
- Get my site session in wordpress?
- Register a menu – Error Header
- Update postmeta after theme switch
- Include style.css in the Child Theme with PHP
- Get user custom field value on function.php
- Add New Text Box To WordPress Twenty Seventeen Header
- WordPress homepage setup not working on first load
- Get the id of all images in a post
- Choose either excerpt or the_content
- Removed jQuery script from header.php , any problems?
- Dynamically display font icons in widget
- Setting a default thumbnail url if no thumbnail
- Covert WordPress Blogname into JQuery
- how to add datas in taxonomy to post with wp_insert_post
- Need help for some PHP code
- Remove an action created by a Gravity Forms add-on
- Ajax search box displays nothing if taxonomy doesn’t exist
- PHP “warning include_once(): Failed to open stream” Simple HTML DOM in WordPress Child Theme
- How do I make the following articles collapse within the month?
- Collapsible menu on post sidebar only expands and does not collapse
- Notice : Array to string conversion on array_intersect user meta
- Get posts by id using shortcode
- Is it possible to replace ‘attachment’ with another word?
- Hide price excluding tax when price is empty
- Getting a value from a custom field from a page that shares a parent with the current page
- wordpress, Category ID
- PHP get_category() function redeclared
- How to trim content AND retain HTML?
- Save data of select list after clicking save
- Arrange Category post manually when displayed
- WordPress adding in site URL to header links
- Error on Include php:/usr/share/pear
- PHP-Code inside Href-Tag
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- How to handle parent and child pages?
- Wrapping the_content() in Schema articleBody tag? [closed]
- How to create a container in php then customise it in CSS
- AJAX WP_Query’s order and orderby parameters not working