Hi, I’m new to WordPress and am working on a site for a client.
I purchased this theme from one of the sites, and the designer is unavailable for 2 weeks, so I’m hoping someone can help me here.
Everything was going well until I tried to add a URL to a shortcode in shortcode.php. I put the code back to what it was originally, and now I get this error and can’t access the dashboard or any pages:
Fatal error: Call to undefined function add_shortcode() in /home/content/p/a/t/pattonpr/html/wp-includes/shortcodes.php on line 15
I did nothing to line 15 in this code. I’ve tried to re-upload the original shortcode.php file. Still no change.
What I was trying to do as Plan B is find the HTML code on the page to remove the shortcode button. I thought this might solve the problem and be the easiest work around to get the site back up. Any suggestions? Thanks so much in advance.
- The topic ‘Fatal Error’ is closed to new replies.