Error thrown

Call to a member function additional_setting() on bool