PHP NOTICE (8)

ERROR:
Undefined index: cart
FILE:
/home/artemis/domains/bureau-artemis.nl/application/index/applicationcontroller.php
LINE:
39

Source

                
32                     }
33                 }
34             }
35         }
36
37         $this->set('contacts', $contacts);
38
39         model('cart')->setCart($_SESSION['cart']);
40
41         if (WEBSITE === 'artemis') {
42             $this->set('homesMenu', model('menu')->getHomesMenu());
43
44             $requestURI = array_filter(explode('/', str_replace('?' . $_SERVER['QUERY_STRING'], '', $_SERVER['REQUEST_URI'])));
45
46             if (isset($requestURI['1'])) {
47                 $pageCheck = fetchRow('SELECT id, controller, url, menu_title, title FROM pages WHERE url = ' . quote($requestURI['1']) . ' AND controller = "home"');

Backtrace

                
showError called at /var/framework/v3/errorhandler.php on line 41
errorhandler called at /home/artemis/domains/bureau-artemis.nl/application/index/applicationcontroller.php on line 39
__construct called at /var/framework/v3/functions.php on line 238
error called at /home/artemis/domains/bureau-artemis.nl/system/plugin.php on line 20
require called at /var/framework/v3/routing.php on line 141
require called at /var/framework/v3/frontcontroller.php on line 5
require called at /home/artemis/domains/bureau-artemis.nl/public_html/index.php on line 35

Other information

                
Date 29-10-2020 20:34:04 (1604000044)
URL /privacyverklaring/cursussen
Referer null
IP 34.201.18.139