Automatic exception report

Date and time

25-06-2026 22:10:18

Page where error occured

http://www.feelcbdgood.codeguru.nl/_product.php?lang=de&product=l-carnitin-450-mg

Details user

216.73.217.59 - Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Error

[2]

Undefined array key "HTTP_REFERER"

An error occurred on line 6008 in the file /var/www/html/feelcbdgood.codeguru.nl/lib/functionality/shop/Shop.php

Source code

5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
        $aContent = array();
        $sContent = NULL;
        $sProductsSelector = NULL;

        $iCategoryID = $this->oGlobal->Retrieve_GET_var('categoryID',false,false);
        $sCategory = $this->oGlobal->Retrieve_GET_var('category',false,false);
        $sSearch = $this->oGlobal->Retrieve_GET_var('term',false,false);
        $sAlfa = $this->oGlobal->Retrieve_GET_var('alfa',false,false);
        $sProductType = $this->oGlobalTranslation->TRG_MenuProducts;

        //Referer?
        if($bReferer == true)
        {
        
            //Are we matching a referer?
            $sReferrer = $_SERVER['HTTP_REFERER'];
            $sReferrer = str_replace ('http://' . $_SERVER['HTTP_HOST'], '', $sReferrer);
            
            //Do we have a referrer?
            if(!(empty($sReferrer)))
            {
                //Do we have a category?
                if((!(strpos($sReferrer, '/category/') === false)))
                {    
                    preg_match('^category/([a-z_0-9-]+)/^', $sReferrer, $aMatches, PREG_OFFSET_CAPTURE);
    
                    //Setup categoryID
                    $sCategory = $aMatches[1][0];
                    
                    $_SESSION['category'] = $sCategory;
                }            

$_GET array

Array
(
    [lang] => de
    [product] => l-carnitin-450-mg
)

$_SESSION array

Array
(
    [LAN] => 5
)