components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php
public function archive_warning() {

		// create $page variable to check if we are on pods admin page
		$page = pods_v( 'page', 'get', false, true );

		// check if we are on Pods Admin page
		if ( $page === 'pods' ) {
			$archive_test = $this->archive_test();
			if ( is_array( $archive_test ) ) {
				foreach ( $archive_test as $label => $test ) {
					if ( $test === 'fail' ) {
						echo sprintf( '<div id="message" class="error"><p>%s</p></div>', sprintf( __( 'The Pods post type %1$s has an archive template set to be displayed using Pods auto template, but the Pod does not have an archive. You can enable post type archives in the "Advanced Options" tab.', 'pods' ), $label ) );
					}
				}
			}
		}

	}
public function archive_warning() {

		// create $page variable to check if we are on pods admin page
		$page = pods_v( 'page', 'get', false, true );

		// check if we are on Pods Admin page
		if ( $page === 'pods' ) {
			$archive_test = $this->archive_test();
			if ( is_array( $archive_test ) ) {
				foreach ( $archive_test as $label => $test ) {
					if ( $test === 'fail' ) {
						echo sprintf( '<div id="message" class="error"><p>%s</p></div>', sprintf( __( 'The Pods post type %1$s has an archive template set to be displayed using Pods auto template, but the Pod does not have an archive. You can enable post type archives in the "Advanced Options" tab.', 'pods' ), $label ) );
					}
				}
			}
		}

	}
public function archive_warning ( ) { // create $page variable to check if we are on pods admin page $ page = pods_v ( 'page' , 'get' , false , true ) ; // check if we are on Pods Admin page if ( $ page === 'pods' ) { $ archive_test = $ this -> archive_test ( ) ; if ( is_array ( $ archive_test ) ) { foreach ( $ archive_test as $ label => $ test ) { if ( $ test === 'fail' ) { echo sprintf ( '<div id="message" class="error"><p>%s</p></div>' , sprintf ( __ ( 'The Pods post type %1$s has an archive template set to be displayed using Pods auto template, but the Pod does not have an archive. You can enable post type archives in the "Advanced Options" tab.' , 'pods' ) , $ label ) ) ; } } } } }
Throw admin warnings for post types that have archive templates set, but don't support archives

@since 2.4.5
Throw admin warnings for post types that have archive templates set but don t support archives