Twig\Error\RuntimeError {#1063 -lineno: 5 -rawMessage: "Impossible to access an attribute ("title") on a null variable." -source: Twig\Source {#1067 -code: """ {% extends 'homebase.html.twig' %}\n \n \n \n {% block title %}{{ setting.title }}{% endblock %}\n {% block keyword %}{{ setting.keyword }}{% endblock %}\n {% block description %}{{ setting.description }}{% endblock %}\n \n {% block slider %} {% include "home/_slider.html.twig"%} {% endblock %}\n \n {% block body %}\n {% set lang = app.request.locale %}\n <!-- product area start -->\n <section class="product-area section-padding">\n <div class="container">\n <div class="row">\n <div class="col-12">\n <!-- section title start -->\n <div class="section-title text-center">\n <h2 class="title"> {{ 'bestselling'|trans }} </h2>\n \n </div>\n <!-- section title start -->\n </div>\n </div>\n <div class="row">\n <div class="col-12">\n <div class="product-container">\n <!-- product tab menu start -->\n \n <!-- product tab menu end -->\n \n <!-- product tab content start -->\n <div class="tab-content">\n <div class="tab-pane fade show active" id="tab1">\n <div class="product-carousel-4 slick-row-10 slick-arrow-style">\n \n {% for product in products %}\n <!-- product item start -->\n <div class="product-item">\n <figure class="product-thumb">\n <a href="/{{ app.request.locale }}/product/{{ product.id }}">\n <img class="pri-img" src="{{ asset('public/uploads/images/' ~ product.image) }}" alt="{{ product.title }}" style="height:270px; width:370px">\n <img class="sec-img" src="{{ asset('public/uploads/images/' ~ product.image) }}" alt="{{ product.title }}" style="height:270px; width:370px">\n </a>\n <div class="product-badge">\n <div class="product-label new">\n <span>new</span>\n </div>\n <div class="product-label discount">\n <span>10%</span>\n </div>\n </div>\n <div class="button-group">\n <a href="#' data-bs-toggle="tooltip" data-bs-placement="left" title="Add to wishlist"><i class="pe-7s-like"></i></a>\n <a href="#" data-bs-toggle="tooltip" data-bs-placement="left" title="Add to Compare"><i class="pe-7s-refresh-2"></i></a>\n <a href="#" data-bs-toggle="modal" data-bs-target="#quick_view"><span data-bs-toggle="tooltip" data-bs-placement="left" title="Quick View"><i class="pe-7s-search"></i></span></a>\n </div>\n <div class="cart-hover">\n <button class="btn btn-cart">add to cart</button>\n </div>\n </figure>\n <div class="product-caption text-center">\n <div class="product-identity">\n <p class="manufacturer-name"><a href="#">{{ product.metal}}</a></p>\n </div>\n <ul class="color-categories">\n <li>\n <a class="c-lightblue" href="#" title="LightSteelblue"></a>\n </li>\n <li>\n <a class="c-darktan" href="#" title="Darktan"></a>\n </li>\n <li>\n <a class="c-grey" href="#" title="Grey"></a>\n </li>\n <li>\n <a class="c-brown" href="#" title="Brown"></a>\n </li>\n </ul>\n <h6 class="product-name">\n <a href="#">{{ product.title }}</a>\n </h6>\n <div class="price-box">\n <span class="price-regular">£{{ product.price }}</span>\n <span class="price-old"><del>{{ product.price * 1.15 }}</del></span>\n </div>\n </div>\n </div>\n <!-- product item end -->\n {% endfor %}\n <!-- product item end -->\n </div>\n </div>\n </div>\n <!-- product tab content end -->\n </div>\n </div>\n </div>\n </div>\n </section>\n <!-- product area end -->\n \n <!-- product banner statistics area start -->\n <section class="product-banner-statistics">\n <div class="container-fluid">\n <div class="row">\n <div class="col-12">\n <div class="product-banner-carousel slick-row-10">\n {% for rs in categories %}\n <!-- banner single slide start -->\n <div class="banner-slide-item">\n <figure class="banner-statistics">\n <a href="/{{ app.request.locale }}/category/{{ rs.category.id }}/{{ rs.title }}">\n <img src="{{ asset('public/uploads/images/' ~ rs.category.image) }}" alt="{{ rs.title }}">\n </a>\n <div class="banner-content banner-content_style2">\n <h5 class="banner-text3"><a href="#">{{ rs.title }}</a></h5>\n </div>\n </figure>\n </div>\n <!-- banner single slide start -->\n {% endfor %}\n \n </div>\n </div>\n </div>\n </div>\n </section>\n <!-- product banner statistics area end -->\n \n <!-- featured product area start -->\n <section class="feature-product section-padding">\n <div class="container">\n <div class="row">\n <div class="col-12">\n <!-- section title start -->\n <div class="section-title text-center">\n <h2 class="title">Featured products</h2>\n <p class="sub-title">...</p>\n </div>\n <!-- section title start -->\n </div>\n </div>\n <div class="row">\n <div class="col-12">\n <div class="product-carousel-4_2 slick-row-10 slick-arrow-style">\n {% for product in products2 %}\n <!-- product single item start -->\n <!-- product grid start -->\n <div class="product-item">\n <figure class="product-thumb">\n <a href="/{{ lang }}/product/{{ product.id }}">\n <img class="pri-img" src="{{ asset('public/uploads/images/' ~ product.image) }}" alt="{{ product.title }}" style="height:270px; width:370px">\n <img class="sec-img" src="{{ asset('public/uploads/images/' ~ product.image) }}" alt="{{ product.title }}" style="height:270px; width:370px">\n </a>\n <div class="product-badge">\n <div class="product-label new">\n <span>new</span>\n </div>\n <div class="product-label discount">\n <span>10%</span>\n </div>\n </div>\n <div class="button-group">\n <a href="#" data-bs-toggle="tooltip" data-bs-placement="left" title="Add to wishlist"><i class="pe-7s-like"></i></a>\n <a href="#" data-bs-toggle="tooltip" data-bs-placement="left" title="Add to Compare"><i class="pe-7s-refresh-2"></i></a>\n <a href="#" data-bs-toggle="modal" data-bs-target="#quick_view"><span data-bs-toggle="tooltip" data-bs-placement="left" title="Quick View"><i class="pe-7s-search"></i></span></a>\n </div>\n <div class="cart-hover">\n \n </div>\n </figure>\n <div class="product-caption text-center">\n <div class="product-identity">\n <p class="manufacturer-name"><a href="#">{{ product.pcode }} / {{ product.metal}}</a></p>\n </div>\n \n <h6 class="product-name">\n \n <a href="#">{{ product.title }}</a>\n </h6>\n <div class="price-box">\n \n </div>\n </div>\n </div>\n <!-- product grid end -->\n {% endfor %}\n </div>\n </div>\n </div>\n \n </div>\n </section>\n {% endblock %}\n """ -name: "home/index.html.twig" -path: "/home/u2236156/istanbuldiamonds.com/templates/home/index.html.twig" } -phpFile: "/home/u2236156/istanbuldiamonds.com/vendor/twig/twig/src/Extension/CoreExtension.php" -phpLine: 1743 }