Error thrown

Call to undefined method Elementor\Preview::is_preview()