After trying to make slight changes to widget.php in my theme, i replaced the original widget.php file, but I keep getting this error message. Does anyone know what's wrong with it?
Fatal error: Class 'WP_Widget' not found in /home/bddbcouk/public_html/wordpress/wp-includes/widgets.php on line 7
I have tried everything I can think of to fix this but nothing works.
Shoule i re-install wordpress?
I don't want to because I recently upgraded.