Whoops \ Exception \ ErrorException (E_WARNING)
Undefined global variable $_SESSION Whoops\Exception\ErrorException thrown with message "Undefined global variable $_SESSION" Stacktrace: #4 Whoops\Exception\ErrorException in /home/aptymqa/public_html/wp-content/themes/Enviroshake/new-contact-form-v11c.php:12 #3 Gantry\Component\Whoops\SystemFacade:handleError in /home/aptymqa/public_html/wp-content/themes/Enviroshake/new-contact-form-v11c.php:12 #2 include in /home/aptymqa/public_html/wp-includes/template-loader.php:132 #1 require_once in /home/aptymqa/public_html/wp-blog-header.php:19 #0 require in /home/aptymqa/public_html/index.php:17
Stack frames (5)
4
Whoops\Exception\ErrorException
/home/aptymqa/public_html/wp-content/themes/Enviroshake/new-contact-form-v11c.php12
3
Gantry\Component\Whoops\SystemFacade handleError
/home/aptymqa/public_html/wp-content/themes/Enviroshake/new-contact-form-v11c.php12
2
include
/home/aptymqa/public_html/wp-includes/template-loader.php132
1
require_once
/home/aptymqa/public_html/wp-blog-header.php19
0
require
/home/aptymqa/public_html/index.php17
<?php
/**
 *
 *
 * Template Name: -> NextMoveCRM Contact Form - May 2020 update
 *
 */
 
$cookie_name = "ppc_cookie";
 
if(!isset($_COOKIE[$cookie_name])) {
    $ppc = $_SESSION['ppc'];
} else {
    $ppc = $_COOKIE[$cookie_name];
}
?>
 
<?php 
global $wp_query;
$id = $wp_query->get_queried_object_id();
$sidebar = get_post_meta($id, "qode_show-sidebar", true);  
 
$enable_page_comments = false;
if(get_post_meta($id, "qode_enable-page-comments", true)) {
    $enable_page_comments = true;
}
 
if(get_post_meta($id, "qode_page_background_color", true) != ""){
    $background_color = get_post_meta($id, "qode_page_background_color", true);
}else{
    $background_color = "";
}
 
if ( get_query_var('paged') ) { $paged = get_query_var('paged'); }
elseif ( get_query_var('page') ) { $paged = get_query_var('page'); }
else { $paged = 1; }
 
?>
<?php get_header(); ?>
<?php if(get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) { ?>
<?php
/**
 *
 *
 * Template Name: -> NextMoveCRM Contact Form - May 2020 update
 *
 */
 
$cookie_name = "ppc_cookie";
 
if(!isset($_COOKIE[$cookie_name])) {
    $ppc = $_SESSION['ppc'];
} else {
    $ppc = $_COOKIE[$cookie_name];
}
?>
 
<?php 
global $wp_query;
$id = $wp_query->get_queried_object_id();
$sidebar = get_post_meta($id, "qode_show-sidebar", true);  
 
$enable_page_comments = false;
if(get_post_meta($id, "qode_enable-page-comments", true)) {
    $enable_page_comments = true;
}
 
if(get_post_meta($id, "qode_page_background_color", true) != ""){
    $background_color = get_post_meta($id, "qode_page_background_color", true);
}else{
    $background_color = "";
}
 
if ( get_query_var('paged') ) { $paged = get_query_var('paged'); }
elseif ( get_query_var('page') ) { $paged = get_query_var('page'); }
else { $paged = 1; }
 
?>
<?php get_header(); ?>
<?php if(get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) { ?>
     */
    $template   = apply_filters( 'template_include', $template );
    $is_stringy = is_string( $template ) || ( is_object( $template ) && method_exists( $template, '__toString' ) );
    $template   = $is_stringy ? realpath( (string) $template ) : null;
    if (
        is_string( $template ) &&
        ( str_ends_with( $template, '.php' ) || str_ends_with( $template, '.html' ) ) &&
        is_file( $template ) &&
        is_readable( $template )
    ) {
        /**
         * Fires immediately before including the template.
         *
         * @since 6.9.0
         *
         * @param string $template The path of the template about to be included.
         */
        do_action( 'wp_before_include_template', $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:

Key Value
gclsrc aw.ds
medium tsa
ppc sem_customer-match
empty
empty
Key Value
__cf_bm hjYrKEQ_TdKYGncRrLJKpLceiGiwNWQHdufElq6_dn4-1780419605.4497604-1.0.1.1-2U9xrUqP.q.7ghyF_reSB5iZeiBhkGPP.Y95mfxNMiGv9hqI8Pm1W87Dd3j2bkOqPRzUX1jc.WyBsXk5Hu.r7Pj1xZiiLjEijanX.bEW.9Ul5l79VCiEHDQgXByzv5nj
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /contact-us-quote/?gclsrc=aw.ds&medium=tsa&ppc=sem_customer-match
HTTP_HOST www.enviroshake.com
DOCUMENT_ROOT /home/aptymqa/public_html
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_COOKIE __cf_bm=hjYrKEQ_TdKYGncRrLJKpLceiGiwNWQHdufElq6_dn4-1780419605.4497604-1.0.1.1-2U9xrUqP.q.7ghyF_reSB5iZeiBhkGPP.Y95mfxNMiGv9hqI8Pm1W87Dd3j2bkOqPRzUX1jc.WyBsXk5Hu.r7Pj1xZiiLjEijanX.bEW.9Ul5l79VCiEHDQgXByzv5nj
HTTP_REFERER http://www.enviroshake.com/contact-us-quote/?gclsrc=aw.ds&medium=tsa&ppc=sem_customer-match
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 216.73.216.219
HTTP_X_FORWARDED_HOST www.enviroshake.com
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER www.enviroshake.com
HTTP_X_REAL_IP 216.73.216.219
HTTP_CF_CONNECTING_IP 216.73.216.219
HTTP_CF_VISITOR {\"scheme\":\"https\"}
HTTP_CF_RAY a0580326ac911709-YYZ
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_CF_IPCOUNTRY US
HTTP_CF_IPCITY Columbus
HTTP_CF_IPCONTINENT NA
HTTP_CF_IPLATITUDE 39.96118
HTTP_CF_IPLONGITUDE -82.99879
HTTP_CF_METRO_CODE 535
HTTP_CF_POSTAL_CODE 43215
HTTP_CF_REGION Ohio
HTTP_CF_REGION_CODE OH
HTTP_CF_TIMEZONE America/New_York
HTTP_CF_DEVICE_TYPE desktop
REDIRECT_UNIQUE_ID ah8MFYw8s7Sww2eE2Hoe0AAAAcE
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI www.enviroshake.com
REDIRECT_STATUS 200
UNIQUE_ID ah8MFYw8s7Sww2eE2Hoe0AAAAcE
HTTP_AUTHORIZATION
HTTPS on
SSL_TLS_SNI www.enviroshake.com
SERVER_SIGNATURE
SERVER_NAME www.enviroshake.com
SERVER_ADDR 66.102.128.74
SERVER_PORT 443
REMOTE_ADDR 216.73.216.219
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/aptymqa/public_html
SERVER_ADMIN webmaster@eij1lnhc.aptyt4zses.wpdns.site
SCRIPT_FILENAME /home/aptymqa/public_html/index.php
REMOTE_PORT 60922
REDIRECT_URL /contact-us-quote/
REDIRECT_QUERY_STRING gclsrc=aw.ds&medium=tsa&ppc=sem_customer-match
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING gclsrc=aw.ds&medium=tsa&ppc=sem_customer-match
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1780419605.7954
REQUEST_TIME 1780419605
empty
0. Whoops\Handler\PrettyPageHandler