public function gitlab_error() {
		$auth_required = $this->get_class_vars( 'Settings', 'auth_required' );
		$error_code    = $this->get_error_codes();

		if ( ! isset( $error_code['gitlab'] ) &&
			( ( empty( static::$options['gitlab_enterprise_token'] ) &&
				$auth_required['gitlab_enterprise'] ) ||
			( empty( static::$options['gitlab_access_token'] ) &&
				$auth_required['gitlab'] ) )
		) {
			self::$error_code['gitlab'] = [ 'error' => true ];
			if ( ! \PAnD::is_admin_notice_active( 'gitlab-error-1' ) ) {
				return;
			}
			?>
			<div data-dismissible="gitlab-error-1" class="error notice is-dismissible">
				<p>
					<?php esc_html_e( 'You must set a GitLab.com, GitLab CE, or GitLab Enterprise Access Token.', 'github-updater' ); ?>
				</p>
			</div>
			<?php
		}
	}