#0 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/License.php(148): Whoops\Run->handleError(2, 'Undefined varia...', '/home/lojadaram...', 148) #1 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/License.php(30): WOODMART_License->process_form() #2 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php(66): WOODMART_License->__construct() #3 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php(49): WOODMART_Registry->_save_object('license') #4 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php(213): WOODMART_Registry->__get('license') #5 /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php(26): WOODMART_Theme->register_classes() #6 /home/lojadaramacom/public_html/wp-content/themes/woodmart/functions.php(56): WOODMART_Theme->__construct() #7 /home/lojadaramacom/public_html/wp-settings.php(710): include('/home/lojadaram...') #8 /home/lojadaramacom/public_html/wp-config.php(109): require_once('/home/lojadaram...') #9 /home/lojadaramacom/public_html/wp-load.php(50): require_once('/home/lojadaram...') #10 /home/lojadaramacom/public_html/wp-blog-header.php(13): require_once('/home/lojadaram...') #11 /home/lojadaramacom/public_html/index.php(17): require('/home/lojadaram...') #12 {main} Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Undefined array key "license" Whoops\Exception\ErrorException thrown with message "Undefined array key "license"" Stacktrace: #9 Whoops\Exception\ErrorException in /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php:55 #8 Whoops\Run:handleError in /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php:55 #7 WOODMART_Registry:__get in /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php:213 #6 WOODMART_Theme:register_classes in /home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php:26 #5 WOODMART_Theme:__construct in /home/lojadaramacom/public_html/wp-content/themes/woodmart/functions.php:56 #4 include in /home/lojadaramacom/public_html/wp-settings.php:710 #3 require_once in /home/lojadaramacom/public_html/wp-config.php:109 #2 require_once in /home/lojadaramacom/public_html/wp-load.php:50 #1 require_once in /home/lojadaramacom/public_html/wp-blog-header.php:13 #0 require in /home/lojadaramacom/public_html/index.php:17
Stack frames (10)
9
Whoops\Exception\ErrorException
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php55
8
Whoops\Run handleError
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php55
7
WOODMART_Registry __get
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php213
6
WOODMART_Theme register_classes
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php26
5
WOODMART_Theme __construct
/home/lojadaramacom/public_html/wp-content/themes/woodmart/functions.php56
4
include
/home/lojadaramacom/public_html/wp-settings.php710
3
require_once
/home/lojadaramacom/public_html/wp-config.php109
2
require_once
/home/lojadaramacom/public_html/wp-load.php50
1
require_once
/home/lojadaramacom/public_html/wp-blog-header.php13
0
require
/home/lojadaramacom/public_html/index.php17
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php
        return self::$instance;
    }
 
 
    /**
     * Dynamically load missing object and assign it to the Registry property
     *
     * @param   string $obj Object name (first char will be converted to upper case)
     * @return  object
     */
    function __get( $obj ) {
        if ( ! isset( $this->knownObjects[ $obj ] ) ) {
            try {
                $this->_save_object( $obj );
            } catch ( Exception $e ) {
                echo esc_html( $e->getTraceAsString() );
            }
        }
 
        return $this->knownObjects[ $obj ];
    }
 
    private function _save_object( $obj ) {
        if ( function_exists( 'mb_convert_case' ) ) {
            $objname = 'WOODMART_' . mb_convert_case( $obj, MB_CASE_TITLE, 'UTF-8' );
        } else {
            $objname = 'WOODMART_' . ucfirst( $obj );
        }
 
        if ( is_string( $obj ) && ! isset( $this->$obj ) && class_exists( $objname ) ) {
            $this->knownObjects[ $obj ] = new $objname();
        }
    }
 
    /**
     * Prevent users to clone the instance
     */
    public function __clone() {
        trigger_error( 'Clone is not allowed.', E_USER_ERROR );
    }
Arguments
  1. "Undefined array key "license""
    
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php
        return self::$instance;
    }
 
 
    /**
     * Dynamically load missing object and assign it to the Registry property
     *
     * @param   string $obj Object name (first char will be converted to upper case)
     * @return  object
     */
    function __get( $obj ) {
        if ( ! isset( $this->knownObjects[ $obj ] ) ) {
            try {
                $this->_save_object( $obj );
            } catch ( Exception $e ) {
                echo esc_html( $e->getTraceAsString() );
            }
        }
 
        return $this->knownObjects[ $obj ];
    }
 
    private function _save_object( $obj ) {
        if ( function_exists( 'mb_convert_case' ) ) {
            $objname = 'WOODMART_' . mb_convert_case( $obj, MB_CASE_TITLE, 'UTF-8' );
        } else {
            $objname = 'WOODMART_' . ucfirst( $obj );
        }
 
        if ( is_string( $obj ) && ! isset( $this->$obj ) && class_exists( $objname ) ) {
            $this->knownObjects[ $obj ] = new $objname();
        }
    }
 
    /**
     * Prevent users to clone the instance
     */
    public function __clone() {
        trigger_error( 'Clone is not allowed.', E_USER_ERROR );
    }
Arguments
  1. 2
    
  2. "Undefined array key "license""
    
  3. "/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Registry.php"
    
  4. 55
    
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php
            'integrations/woocommerce/modules/quick-buy/class-main',
            'integrations/woocommerce/modules/counter-visitors/class-main',
            'integrations/woocommerce/modules/linked-variations/class-main',
            'integrations/woocommerce/modules/unit-of-measure/class-main',
            'integrations/woocommerce/modules/show-single-variations/class-main',
            'integrations/woocommerce/modules/frequently-bought-together/class-main',
        );
 
        if ( did_action( 'elementor/loaded' ) ) {
            $files[] = 'integrations/elementor/helpers';
        }
 
        foreach ( $files as $file ) {
            require_once get_parent_theme_file_path( WOODMART_FRAMEWORK . '/' . $file . '.php' );
        }
    }
 
    private function register_classes() {
        foreach ( $this->register_classes as $class ) {
            WOODMART_Registry::getInstance()->$class;
        }
    }
 
 
    private function wpb_files_include() {
        if ( 'wpb' !== woodmart_get_current_page_builder() || ! defined( 'WPB_VC_VERSION' ) ) {
            return;
        }
 
        $files = array(
            'integrations/visual-composer/functions',
            'integrations/visual-composer/fields/vc-functions',
            'integrations/visual-composer/fields/fields-css',
            'integrations/visual-composer/fields/image-hotspot',
            'integrations/visual-composer/fields/title-divider',
            'integrations/visual-composer/fields/slider',
            'integrations/visual-composer/fields/responsive-size',
            'integrations/visual-composer/fields/responsive-spacing',
            'integrations/visual-composer/fields/image-select',
            'integrations/visual-composer/fields/dropdown',
Arguments
  1. "license"
    
/home/lojadaramacom/public_html/wp-content/themes/woodmart/inc/classes/Theme.php
class WOODMART_Theme {
    private $register_classes;
 
    public function __construct() {
        $this->register_classes = array(
            'notices',
            'options',
            'layout',
            'vctemplates',
            'api',
            'license',
            'wpbcssgenerator',
            'themesettingscss',
            'pagecssfiles',
        );
 
        $this->core_plugin_classes();
        $this->general_files_include();
        $this->wpb_files_include();
        $this->register_classes();
        $this->wpb_element_files_include();
        $this->shortcodes_files_include();
 
        if ( is_admin() ) {
            $this->admin_files_include();
        }
 
        $this->dashboard_files();
 
        if ( 'elementor' === woodmart_get_current_page_builder() ) {
            require_once get_parent_theme_file_path( WOODMART_FRAMEWORK . '/integrations/elementor/class-elementor.php' );
        }
    }
 
    private function general_files_include() {
        $files = array(
            'helpers',
            'functions',
            'template-tags/template-tags',
            'template-tags/portfolio',
/home/lojadaramacom/public_html/wp-content/themes/woodmart/functions.php
            'Notices.php',
            'Options.php',
            'Stylesstorage.php',
            'Theme.php',
            'Themesettingscss.php',
            'Vctemplates.php',
            'Wpbcssgenerator.php',
            'Registry.php',
            'Pagecssfiles.php',
        );
 
        foreach ( $classes as $class ) {
            require WOODMART_CLASSES . DIRECTORY_SEPARATOR . $class;
        }
    }
}
 
woodmart_load_classes();
 
new WOODMART_Theme();
 
define( 'WOODMART_VERSION', woodmart_get_theme_info( 'Version' ) );
 
/home/lojadaramacom/public_html/wp-settings.php
$GLOBALS['wp_locale'] = new WP_Locale();
 
/**
 * WordPress Locale Switcher object for switching locales.
 *
 * @since 4.7.0
 *
 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
 */
$GLOBALS['wp_locale_switcher'] = new WP_Locale_Switcher();
$GLOBALS['wp_locale_switcher']->init();
 
// Load the functions for the active theme, for both parent and child theme if applicable.
foreach ( wp_get_active_and_valid_themes() as $theme ) {
    $wp_theme = wp_get_theme( basename( $theme ) );
 
    $wp_theme->load_textdomain();
 
    if ( file_exists( $theme . '/functions.php' ) ) {
        include $theme . '/functions.php';
    }
}
unset( $theme, $wp_theme );
 
/**
 * Fires after the theme is loaded.
 *
 * @since 3.0.0
 */
do_action( 'after_setup_theme' );
 
// Create an instance of WP_Site_Health so that Cron events may fire.
if ( ! class_exists( 'WP_Site_Health' ) ) {
    require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';
}
WP_Site_Health::get_instance();
 
// Set up current user.
$GLOBALS['wp']->init();
 
Arguments
  1. "/home/lojadaramacom/public_html/wp-content/themes/woodmart/functions.php"
    
/home/lojadaramacom/public_html/wp-config.php
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the documentation.
 *
 * @link https://wordpress.org/support/article/debugging-in-wordpress/
 */
if ( ! defined( 'WP_DEBUG' ) ) {
    define( 'WP_DEBUG', true );
}
 
/* That's all, stop editing! Happy publishing. */
 
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
    define( 'ABSPATH', __DIR__ . '/' );
}
 
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
 
Arguments
  1. "/home/lojadaramacom/public_html/wp-settings.php"
    
/home/lojadaramacom/public_html/wp-load.php
     * Initialize error reporting to a known set of levels.
     *
     * This will be adapted in wp_debug_mode() located in wp-includes/load.php based on WP_DEBUG.
     * @see https://www.php.net/manual/en/errorfunc.constants.php List of known error levels.
     */
    error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
}
 
/*
 * If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php
 * doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit
 * of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a)
 * and /blog/ is WordPress(b).
 *
 * If neither set of conditions is true, initiate loading the setup process.
 */
if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
 
    /** The config file resides in ABSPATH */
    require_once ABSPATH . 'wp-config.php';
 
} elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
 
    /** The config file resides one level above ABSPATH but is not part of another installation */
    require_once dirname( ABSPATH ) . '/wp-config.php';
 
} else {
 
    // A config file doesn't exist.
 
    define( 'WPINC', 'wp-includes' );
    require_once ABSPATH . WPINC . '/version.php';
    require_once ABSPATH . WPINC . '/compat.php';
    require_once ABSPATH . WPINC . '/load.php';
 
    // Check for the required PHP version and for the MySQL extension or a database drop-in.
    wp_check_php_mysql_versions();
 
    // Standardize $_SERVER variables across setups.
    wp_fix_server_vars();
Arguments
  1. "/home/lojadaramacom/public_html/wp-config.php"
    
/home/lojadaramacom/public_html/wp-blog-header.php
<?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';
 
}
 
Arguments
  1. "/home/lojadaramacom/public_html/wp-load.php"
    
/home/lojadaramacom/public_html/index.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';
 
Arguments
  1. "/home/lojadaramacom/public_html/wp-blog-header.php"
    

Environment & details:

Key Value
add-to-cart
"15720"
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_URI
"/produto/quebra-cabeca-3d-che-guevara-decoracao-ornamento-enfeite/?add-to-cart=15720"
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_HOST
"lojadarama.com.br"
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.34"
HTTP_CF_RAY
"9cce0e60b923554f-CMH"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"216.73.216.34"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_HTTPS
"1"
DOCUMENT_ROOT
"/home/lojadaramacom/public_html"
REMOTE_ADDR
"216.73.216.34"
REMOTE_PORT
"10998"
SERVER_ADDR
"152.53.210.121"
SERVER_NAME
"lojadarama.com.br"
SERVER_ADMIN
"webmaster@lojadarama.com.br"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REDIRECT_URL
"/produto/quebra-cabeca-3d-che-guevara-decoracao-ornamento-enfeite/"
REDIRECT_QUERY_STRING
"add-to-cart=15720"
REDIRECT_REQUEST_METHOD
"GET"
PROXY_REMOTE_ADDR
"104.23.243.147"
HTTPS
"on"
HTTP_AUTHORIZATION
""
REDIRECT_STATUS
"200"
X_SPDY
"HTTP2"
SSL_PROTOCOL
"TLSv1.3"
SSL_CIPHER
"TLS_AES_128_GCM_SHA256"
SSL_CIPHER_USEKEYSIZE
"128"
SSL_CIPHER_ALGKEYSIZE
"128"
SCRIPT_FILENAME
"/home/lojadaramacom/public_html/index.php"
QUERY_STRING
"add-to-cart=15720"
SCRIPT_URI
"https://lojadarama.com.br/produto/quebra-cabeca-3d-che-guevara-decoracao-ornamento-enfeite/"
SCRIPT_URL
"/produto/quebra-cabeca-3d-che-guevara-decoracao-ornamento-enfeite/"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1770919965.7383
REQUEST_TIME
1770919965
argv
array:1 [
  0 => "add-to-cart=15720"
]
argc
1
empty
0. Whoops\Handler\PrettyPageHandler