Foto's

Error

Error_date: 12-14-2019 06:38:54 +0100
Error_type: E_NOTICE
Error_file: /home/ntc72/public_html/modules/class.facebook-gallery.php
Error_line: 67
Error_msg: Undefined index: data
Client_ip: 3.91.106.223
Client_uri: /fotos
Client_user-agent: CCBot/2.0 (https://commoncrawl.org/faq/)
Server_host: ntc72.nl
Error_simpel: Notice: Undefined index: data In /home/ntc72/public_html/modules/class.facebook-gallery.php On line 67

Script, line: 67
61
62
63
64
65
66
67
68
69
70
71


        $gallery 
'';
        if(!
$this->loadCache($this->id)) {
            
$json_array $this->getData($this->id,$type='albums');

            
$data_count count($json_array['data']);
            for(
$x=0$x<$data_count$x++)
            {
                
$title $json_array['data'][$x]['name'];
                if(
$title != "Cover Photos" && $title != "Timeline Photos" && $title != "Profile Pictures" && $title != "Mobile Uploads") {
                    if(!empty(
$json_array['data'][$x]['id']) AND $json_array['data'][$x]['count'] > 0// do not include empty albums