8

Bestand: /Frontend/Pages/Shop/Controller.php
Regelnummer: 218
Melding: Undefined offset: 0
array(6) {
  ["file"]=>
  string(77) "/var/www/vhosts/wissellijsten-online.nl/httpdocs/.CodeBee/Helpers/Failure.php"
  ["line"]=>
  int(36)
  ["function"]=>
  string(4) "show"
  ["class"]=>
  string(7) "Failure"
  ["type"]=>
  string(2) "::"
  ["args"]=>
  array(5) {
    [0]=>
    int(8)
    [1]=>
    string(19) "Undefined offset: 0"
    [2]=>
    string(83) "/var/www/vhosts/wissellijsten-online.nl/httpdocs/Frontend/Pages/Shop/Controller.php"
    [3]=>
    int(218)
    [4]=>
    array(1) {
      ["prod"]=>
      object(Collection)#47 (32) {
        ["id"]=>
        string(3) "117"
        ["sku"]=>
        string(8) "14.32522"
        ["title"]=>
        string(20) "Titaan 50 x 50 cm XL"
        ["merknaam"]=>
        string(9) "Switch-it"
        ["slug"]=>
        string(20) "titaan-50-x-50-cm-xl"
        ["status"]=>
        string(1) "1"
        ["price_not"]=>
        string(5) "27.49"
        ["price"]=>
        string(5) "22.68"
        ["description"]=>
        string(425) "

Switch-It XL is een kwalitatief hoogwaardige aluminium wissellijst voorzien van 2 mm dik geslepen helder glas. Het inlegvel kan tevens dienst doen als passe-partout. Het 3 cm brede vooraanzicht van de lijst is geborsteld, evenals de zijkant. Dit formaat is voorzien van zilverkleurige draaiveren die tevens voor de ophanging gebruikt kunnen worden. Het formaat 50 x 50 cm wordt geleverd met 3-punts kabelophangsysteem.

" ["hoogte"]=> string(2) "50" ["breedte"]=> string(2) "50" ["attr_set"]=> string(1) "4" ["uitgelicht"]=> string(1) "0" ["images_id"]=> string(1) "5" ["domain_id"]=> string(1) "1" ["meta_description"]=> string(0) "" ["meta_keywords"]=> string(0) "" ["main_as_thumb"]=> string(1) "0" ["homepagina"]=> string(1) "0" ["updated_at"]=> string(19) "2014-09-19 09:25:43" ["created_at"]=> string(19) "2014-03-10 10:55:47" ["removed_at"]=> string(0) "" ["price_not_valid"]=> bool(false) ["cat_id"]=> string(1) "6" ["choosable_attributes"]=> array(2) { [0]=> array(14) { ["id"]=> string(1) "1" ["type"]=> string(3) "int" ["title"]=> string(5) "Kleur" ["input_frontend"]=> string(6) "select" ["input_backend"]=> string(6) "select" ["is_unique"]=> string(1) "0" ["is_searchable"]=> string(1) "1" ["is_filterable"]=> string(1) "1" ["is_comparable"]=> string(1) "1" ["is_choosable"]=> string(1) "1" ["is_required"]=> string(1) "0" ["in_productoverview_desc"]=> string(1) "0" ["status"]=> string(1) "1" ["prod_attr"]=> array(0) { } } [1]=> array(14) { ["id"]=> string(1) "4" ["type"]=> string(3) "int" ["title"]=> string(7) "systeem" ["input_frontend"]=> string(6) "select" ["input_backend"]=> string(6) "select" ["is_unique"]=> string(1) "0" ["is_searchable"]=> string(1) "1" ["is_filterable"]=> string(1) "1" ["is_comparable"]=> string(1) "1" ["is_choosable"]=> string(1) "1" ["is_required"]=> string(1) "0" ["in_productoverview_desc"]=> string(1) "0" ["status"]=> string(1) "1" ["prod_attr"]=> array(0) { } } } ["price_incl"]=> string(5) "22.68" ["price_excl"]=> float(18.743801652893) ["hoofd_afbeelding"]=> string(68) "https://wissellijsten-online.nl/media/Afbeeldingen/5/titaan-xl-1.png" ["hoofd_afbeelding_breedte"]=> int(500) ["hoofd_afbeelding_hoogte"]=> int(604) ["sub_afbeeldingen"]=> array(3) { [0]=> array(4) { ["title"]=> string(15) "titaan-xl-1.png" ["url"]=> string(68) "https://wissellijsten-online.nl/media/Afbeeldingen/5/titaan-xl-1.png" ["width"]=> int(500) ["height"]=> int(604) } [1]=> array(4) { ["title"]=> string(15) "titaan-xl-2.png" ["url"]=> string(68) "https://wissellijsten-online.nl/media/Afbeeldingen/5/titaan-xl-2.png" ["width"]=> int(500) ["height"]=> int(500) } [2]=> array(4) { ["title"]=> string(15) "titaan-xl-3.jpg" ["url"]=> string(68) "https://wissellijsten-online.nl/media/Afbeeldingen/5/titaan-xl-3.jpg" ["width"]=> int(500) ["height"]=> int(500) } } ["href"]=> string(73) "https://wissellijsten-online.nl/shop/homepagina/titaan-50-x-50-cm-xl-117/" } } } }

Mogelijk nuttige informatie:

uri shop/homepagina/titaan-50-x-50-cm-xl-117/
empty
empty
empty
USER andre
HOME /var/www/vhosts/wissellijsten-online.nl
SCRIPT_NAME /index.php
REQUEST_URI /shop/homepagina/titaan-50-x-50-cm-xl-117/
REQUEST_METHOD GET
REDIRECT_URL /shop/homepagina/titaan-50-x-50-cm-xl-117/
REDIRECT_QUERY_STRING uri=index.php/homepagina/titaan-50-x-50-cm-xl-117/&uri=shop/homepagina/titaan-50-x-50-cm-xl-117/
SCRIPT_FILENAME /var/www/vhosts/wissellijsten-online.nl/httpdocs/index.php
SERVER_ADMIN info@ittica.nl
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/wissellijsten-online.nl/httpdocs
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/wissellijsten-online.nl/httpdocs
REMOTE_ADDR 34.229.97.16
SERVER_PORT 443
SERVER_ADDR 37.97.231.106
SERVER_NAME wissellijsten-online.nl
SERVER_SOFTWARE Apache
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING gzip
HTTP_IF_MODIFIED_SINCE Tue, 22 Jan 2019 02:23:11 GMT
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_CONNECTION close
HTTP_X_ACCEL_INTERNAL /internal-nginx-static-location
HTTP_X_REAL_IP 34.229.97.16
HTTP_HOST wissellijsten-online.nl
proxy-nokeepalive 1
HTTPS on
PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
SCRIPT_URI https://wissellijsten-online.nl/shop/homepagina/titaan-50-x-50-cm-xl-117/
SCRIPT_URL /shop/homepagina/titaan-50-x-50-cm-xl-117/
UNIQUE_ID XJRleWLLTZQ4u1Ps@DwRTQAAAAo
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
REDIRECT_SCRIPT_URI https://wissellijsten-online.nl/shop/homepagina/titaan-50-x-50-cm-xl-117/
REDIRECT_SCRIPT_URL /shop/homepagina/titaan-50-x-50-cm-xl-117/
REDIRECT_UNIQUE_ID XJRleWLLTZQ4u1Ps@DwRTQAAAAo
FCGI_ROLE RESPONDER
PHP_SELF /index.php
starttime 1553229177.1457
timings Array ( )
208          //             'title' => $value,
209          //             'url' => str_replace(Media::root(1), Media::root(0), $val, $ext),
210          //             'width' => $data[0],
211          //             'height' => $data[1],
212          //         ];
213  
214          //     }
215          if(empty($prod['choosable_attributes'])){
216              $systeem '';
217          } else{
218              $systeem $prod['choosable_attributes'][1]['prod_attr'][0]['value'];
219              if ($systeem == 5) {
220                  $systeem 'voetsteun';
221              } elseif ($systeem == 6) {
222                  $systeem 'hangers';
223              } else {
224                  $systeem 'punt-kabel';
225              }
226          }
227