Automatic exception report

Date and time

11-12-2025 19:54:10

Page where error occured

http://www.toppharm24.codeguru.nl/_products.php?category=restful

Referer

http://www.toppharm24.codeguru.nl/category/restful

Details user

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

Error

[2]

Attempt to read property "CTT_Name" on null

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

Source code

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
     *
     * Call to function if you want to get the category meta tags
     *
     * return string
     */
    function GetCategoryMeta($oCategory)
    {

        $return = array();

        //Get product title
        if(!(empty($oCategory->CTT_MetaTitle))) {
            $title = $oCategory->CTT_MetaTitle;
        }
        else  {
            $title = $oCategory->CTT_Name;
        }

        //Get keywords
        if(!(empty($oCategory->CTT_MetaKeywords))) {
            $keywords = $oCategory->CTT_MetaKeywords;
        }
        else {
            $keywords = $this->snippetwop($title,150,'');
        }

        //Get description
        if(!(empty($oCategory->CTT_MetaDescription))) {
            $description = $oCategory->CTT_MetaDescription;
        }
        else {

$_GET array

Array
(
    [category] => restful
)

$_SESSION array

Array
(
    [LAN] => 1
)