Whoops \ Exception \ ErrorException (E_WARNING)
Use of undefined constant RZD_PAGE_TITLE - assumed 'RZD_PAGE_TITLE' (this will throw an Error in a future version of PHP) Whoops\Exception\ErrorException thrown with message "Use of undefined constant RZD_PAGE_TITLE - assumed 'RZD_PAGE_TITLE' (this will throw an Error in a future version of PHP)" Stacktrace: #4 Whoops\Exception\ErrorException in /home/springspur/public_html/wp-content/themes/g5_helium_child/rezdy-template/rezdy-items.php:8 #3 Gantry\Component\Whoops\SystemFacade:handleError in /home/springspur/public_html/wp-content/themes/g5_helium_child/rezdy-template/rezdy-items.php:8 #2 include in /home/springspur/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/springspur/public_html/wp-blog-header.php:19 #0 require in /home/springspur/public_html/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/springspur/public_html/wp-content/themes/g5_helium_child/rezdy-template/rezdy-items.php8
3
Gantry\Component\Whoops\SystemFacade handleError
/home/springspur/public_html/wp-content/themes/g5_helium_child/rezdy-template/rezdy-items.php8
2
include
/home/springspur/public_html/wp-includes/template-loader.php106
1
require_once
/home/springspur/public_html/wp-blog-header.php19
0
require
/home/springspur/public_html/index.php17
<?php
    /*
    Template Name: Rezdy Items
    */
    get_header();
?>
    <div class="rzd_main">
        <h1><?php echo RZD_PAGE_TITLE; ?></h1>
        
        <div class="rzd_options_list">
            <?php echo rzd_get_terms(); ?>
            <div class="rzd_grid_list">
                <span class="rzd_grid_btn">
                    <img src="<?php echo WP_REZDY_URL; ?>rezdy-template/rzd-grid-icon.png" alt="" title="Grid View" />
                </span>
                <span class="rzd_list_btn">
                    <img src="<?php echo WP_REZDY_URL; ?>rezdy-template/rzd-list-icon.png" alt="" title="List view" />
                </span>
            </div>
        </div>
        
        <div class="items_body">            
        <?php    
            if (get_query_var('page')) {
                $rzd_paged = get_query_var('page');
            } else {
                $rzd_paged = 1;
            }
 
            $rzd_posts_per_page = get_option('posts_per_page');
            $rzd_post_name_slug = get_option('rzd_post_name_slug');
 
            $rzd_post_args = array(
                                'post_type'         => $rzd_post_name_slug,
                                'posts_per_page'    => $rzd_posts_per_page,
                                'order'             => 'DESC',
                                'paged'             => $rzd_paged
                            );
            $rzd_post_qry = new WP_Query($rzd_post_args);
 
<?php
    /*
    Template Name: Rezdy Items
    */
    get_header();
?>
    <div class="rzd_main">
        <h1><?php echo RZD_PAGE_TITLE; ?></h1>
        
        <div class="rzd_options_list">
            <?php echo rzd_get_terms(); ?>
            <div class="rzd_grid_list">
                <span class="rzd_grid_btn">
                    <img src="<?php echo WP_REZDY_URL; ?>rezdy-template/rzd-grid-icon.png" alt="" title="Grid View" />
                </span>
                <span class="rzd_list_btn">
                    <img src="<?php echo WP_REZDY_URL; ?>rezdy-template/rzd-list-icon.png" alt="" title="List view" />
                </span>
            </div>
        </div>
        
        <div class="items_body">            
        <?php    
            if (get_query_var('page')) {
                $rzd_paged = get_query_var('page');
            } else {
                $rzd_paged = 1;
            }
 
            $rzd_posts_per_page = get_option('posts_per_page');
            $rzd_post_name_slug = get_option('rzd_post_name_slug');
 
            $rzd_post_args = array(
                                'post_type'         => $rzd_post_name_slug,
                                'posts_per_page'    => $rzd_posts_per_page,
                                'order'             => 'DESC',
                                'paged'             => $rzd_paged
                            );
            $rzd_post_qry = new WP_Query($rzd_post_args);
 
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /rezdy-items/
TZ Australia/Melbourne
REDIRECT_REDIRECT_UNIQUE_ID Xw7JX6G1Q-HL7FUTFTzVVgAAAAA
REDIRECT_REDIRECT_HTTPS on
REDIRECT_REDIRECT_SSL_TLS_SNI www.springspur.com.au
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID Xw7JX6G1Q-HL7FUTFTzVVgAAAAA
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.springspur.com.au
REDIRECT_HANDLER application/x-httpd-ea-php74
REDIRECT_STATUS 200
UNIQUE_ID Xw7JX6G1Q-HL7FUTFTzVVgAAAAA
HTTPS on
SSL_TLS_SNI www.springspur.com.au
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING br,gzip
HTTP_HOST www.springspur.com.au
HTTP_CONNECTION Keep-Alive
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
SERVER_SIGNATURE
SERVER_NAME www.springspur.com.au
SERVER_ADDR 113.52.144.43
SERVER_PORT 443
REMOTE_ADDR 34.204.187.106
DOCUMENT_ROOT /home/springspur/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX /cgi-sys
CONTEXT_DOCUMENT_ROOT /usr/local/cpanel/cgi-sys/
SERVER_ADMIN webmaster@springspur.com.au
SCRIPT_FILENAME /home/springspur/public_html/index.php
REMOTE_PORT 51560
REDIRECT_URL /index.php
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/local/cpanel/cgi-sys/ea-php74
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/springspur/public_html/index.php
ORIG_SCRIPT_NAME /cgi-sys/ea-php74
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1594804575.4621
REQUEST_TIME 1594804575
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler