Error thrown

Non-static method GFCommon::get_base_path() cannot be called statically