Error thrown

Class 'WP' not found