@extends('layouts.default') @section('css') @parent {!! Html::style('css/modules/catalogue.css') !!} @stop @section('content')

@if($current) {{ $current->libelle }} @else {!! getParametre('titre_catalogue') !!} @endif

@if($current && file_exists( public_path().'/plugins/catalogue/img/categories/'.$current->id.'/couverture.jpg' )) {!! Html::image("plugins/catalogue/img/categories/{$current->id}/couverture.jpg", $current->libelle, array("border" => 0, "class" => "img-responsive")) !!} @endif @if($current && $current->description) {!! $current->description !!} @endif

    Fatal error: Uncaught Error: Call to a member function count() on null in /home/trutinauto/public_html/resources/views/plugins/catalogue/index.blade.php:37 Stack trace: #0 {main} thrown in /home/trutinauto/public_html/resources/views/plugins/catalogue/index.blade.php on line 37