Error thrown

Class 'WP_Widget_Pages' not found