PHP NOTICE (8)

ERROR:
Trying to access array offset on value of type bool
FILE:
/home/artemis/domains/bureau-artemis.nl/models/publications.php
LINE:
19

Source

                
12         );
13     }
14
15     public function getPublicationsItemByUrl($url)
16     {
17         $publication = fetchRow('SELECT * FROM publications WHERE url = ' . quote($url) . ' AND languages_id = ' . LANG . ' AND live = 1');
18
19         if (intval($publication['pages_sections_id']) !== 0) {
20             $sections = model('pages')->getSectionsByPagesID(47);
21
22             foreach ($sections as $section) {
23                 if (intval($section['id']) === intval($publication['pages_sections_id'])) {
24                     $publication['pages_section'] = $section;
25                 }
26             }
27         }

Backtrace

                
showError called at /var/framework/v3/errorhandler.php on line 41
errorhandler called at /home/artemis/domains/bureau-artemis.nl/models/publications.php on line 19
getPublicationsItemByUrl called at /home/artemis/domains/bureau-artemis.nl/application/index/controllers/publications.php on line 37
itemAction called at /var/framework/v3/library/controller.php on line 55
remap called at /home/artemis/domains/bureau-artemis.nl/application/index/controllers/publications.php on line 8
_remap called at /var/framework/v3/frontcontroller.php on line 14
require called at /home/artemis/domains/bureau-artemis.nl/public_html/index.php on line 37

Other information

                
Date 19-04-2024 08:41:15 (1713508875)
URL /autobiografie/publicaties/een-autobiografie-schrijven
Referer null
IP 18.224.33.107