Error thrown

Class 'WP_Widget_Hook' not found