Error

We're sorry, but an unhandled error occurred. Please see the details below.

An exception has been thrown during the rendering of a template ("imagesx() expects parameter 1 to be resource, boolean given").

/home/knisse/public_html/plugins/rainlab/blog/components/posts/default.htm line 49

                            <div class="image">
                                <a href="{{ str_slug(post.getParent(post.categories[0].id)[0].name)~'/'~post.slug }}">
                                    <img
                                        data-src="{{ post.featured_images[0].filename }}"
 
                                        src="{{ url(post.featured_images[0].disk_path) }}"
                                        data-test="{{ url(post.minify_img(post.featured_images[0].disk_path, post.user.id))  }}"
                                        alt="{{ post.title }} ouedkniss"
                                        class="img-responsive img-thumbnail" /> 
                                </a>
                            </div>
                        {% else %}
                            <div class="image">

Stack trace

# Called Code Document Line
27 Twig_Template->displayWithErrorHandling() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 253
26 Twig_Template->display() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 264
25 Twig_Template->render() http://www.ouedknisse.info/modules/cms/classes/Controller.php 701
24 Cms\Classes\Controller->renderPartial() http://www.ouedknisse.info/modules/cms/classes/Controller.php 756
23 Cms\Classes\Controller->renderComponent() http://www.ouedknisse.info/modules/cms/twig/Extension.php 135
22 Cms\Twig\Extension->componentFunction() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Environment.php(331) : eval()'d code 132
21 __TwigTemplate_e06f10dfc8920f61d12bb4f7e549e840b217416b391acaf65eb606733092962a->doDisplay() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 279
20 Twig_Template->displayWithErrorHandling() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 253
19 Twig_Template->display() http://www.ouedknisse.info/vendor/twig/twig/lib/Twig/Template.php 264
18 Twig_Template->render() http://www.ouedknisse.info/modules/cms/classes/Controller.php 256
17 Cms\Classes\Controller->run()
16 call_user_func_array() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 231
15 Illuminate\Routing\Controller->callAction() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 93
14 Illuminate\Routing\ControllerDispatcher->call() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 62
13 Illuminate\Routing\ControllerDispatcher->dispatch() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 962
12 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
11 call_user_func_array() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Route.php 109
10 Illuminate\Routing\Route->run() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 1028
9 Illuminate\Routing\Router->dispatchToRoute() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Routing/Router.php 996
8 Illuminate\Routing\Router->dispatch() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 775
7 Illuminate\Foundation\Application->dispatch() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 745
6 Illuminate\Foundation\Application->handle() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Session/Middleware.php 72
5 Illuminate\Session\Middleware->handle() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php 47
4 Illuminate\Cookie\Queue->handle() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 51
3 Illuminate\Cookie\Guard->handle() http://www.ouedknisse.info/vendor/stack/builder/src/Stack/StackedHttpKernel.php 23
2 Stack\StackedHttpKernel->handle() http://www.ouedknisse.info/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 641
1 Illuminate\Foundation\Application->run() http://www.ouedknisse.info/index.php 56