Error thrown

Call to a member function cws_get_option() on null