Fatal error after minor change in formatting.php
-
I was working on an error in the formatting.php file and did not understand what was wrong. I ended up making a minor change (added a space where I thought it needed one). This gave me a fatal error so I quickly undid what I had done but it still gives me a fatal error…
Please tell me I can still fix this? Bonus points if you can tell me how.
Error example (each page is different):
Fatal error: Uncaught Error: Call to undefined function wp_replace_in_html_tags() in /sites/zakwetu.com/www/wp-includes/class-wp-embed.php:324 Stack trace: #0 /sites/zakwetu.com/www/wp-includes/plugin.php(235): WP_Embed->autoembed(‘[woocommerce_ch…’) #1 /sites/zakwetu.com/www/wp-includes/post-template.php(240): apply_filters(‘the_content’, ‘[woocommerce_ch…’) #2 /sites/zakwetu.com/www/wp-content/themes/mystile/page.php(39): the_content() #3 /sites/zakwetu.com/www/wp-includes/template-loader.php(75): include(‘/sites/zakwetu….’) #4 /sites/zakwetu.com/www/wp-blog-header.php(19): require_once(‘/sites/zakwetu….’) #5 /sites/zakwetu.com/www/index.php(17): require(‘/sites/zakwetu….’) #6 {main} thrown in /sites/zakwetu.com/www/wp-includes/class-wp-embed.php on line 324
- The topic ‘Fatal error after minor change in formatting.php’ is closed to new replies.