trigger_error when renderer cannot be get