Automatic exception report

Date and time

28-04-2025 01:15:48

Page where error occured

http://www.yogaspecials.codeguru.nl/_products.php?producttype=womens-tank-and-tops

Referer

http://www.yogaspecials.codeguru.nl/type/womens-tank-and-tops

Details user

ec2-3-144-35-81.us-east-2.compute.amazonaws.com/3.144.35.81 - Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Error

[2]

Attempt to read property "ID" on null

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

Source code

7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
                break;

                //Type mode
                case 'type':

                //URL elememt
                $sURLpart = '/type/';

                //Type query
                $sTypeQuery = 'SELECT POT_ID AS ID, PTT_Name AS Title, POT_RewriteURL AS URL, PTT_Description AS Description FROM TblProductTypes LEFT JOIN TblProductTypesTranslations ON POT_ID = PTT_ProductTypeID WHERE POT_RewriteURL = ' . $this->oMdb2->quote($iOverviewID) . ' AND PTT_LanguageID = ' . $this->oMdb2->quote($this->oGlobalTranslation->TRG_LanguageID) . ' GROUP BY POT_ID';

                //Get object
                $oType = $this->oMdb2->extended->getRow($sTypeQuery);

                //Where clause
                $sWhere .= ' AND PRO_ProductTypeID = '. $this->oMdb2->quote($oType->ID);

                break;

                //New mode
                case 'new':

                //URL elememt
                $sURLpart = '/new/';

                //Where clause
                $sWhere .= ' AND PRO_NewArrivals = 1';

                break;

            }

$_GET array

Array
(
    [producttype] => womens-tank-and-tops
)

$_SESSION array

Array
(
    [LAN] => 1
)