I am no expert on Wordpress. I accidentally made an adjustment to a Function.php
file on the editor of my theme and that automatically created a 500Error, I was able to enable the DEBUG on my theme to find out where the error is and I am now getting this:
Fatal error: Call to undefined function add_action() in /home/collabis/public_html/wp/wp-includes/functions.php on line 343
The only thing I have tried is to upload the original theme's function.php
file directly through Cpanel
but nothing's happening. I am unsure what else to do. Some people mentioned replacing the funtion.php is the one within the theme, so I did that.
Any thoughts?