Fatal error: Uncaught TypeError: App\Modules\ProductCatalog\Helpers\ShowRoomHelper::__construct(): Argument #1 ($data) must be of type object, null given, called in /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Composers/ShowRoomSectionComposer.php on line 19 and defined in /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Helpers/ShowRoomHelper.php:9
Stack trace:
#0 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Composers/ShowRoomSectionComposer.php(19): App\Modules\ProductCatalog\Helpers\ShowRoomHelper->__construct()
#1 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php(93): App\Modules\ProductCatalog\Composers\ShowRoomSectionComposer->with()
#2 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php(83): Roots\Acorn\View\Composer->merge()
#3 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Concerns/ManagesEvents.php(124): Roots\Acorn\View\Composer->compose()
#4 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(458): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}()
#5 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(286): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#6 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(266): Illuminate\Events\Dispatcher->invokeListeners()
#7 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch()
#8 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(188): Illuminate\View\Factory->callComposer()
#9 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(159): Illuminate\View\View->renderContents()
#10 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/DTO/ProductDTO.php(76): Illuminate\View\View->render()
#11 [internal function]: App\Modules\ProductCatalog\DTO\ProductDTO->App\Modules\ProductCatalog\DTO\{closure}()
#12 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/collections/Arr.php(600): array_map()
#13 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/collections/Collection.php(778): Illuminate\Support\Arr::map()
#14 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/DTO/ProductDTO.php(70): Illuminate\Support\Collection->map()
#15 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Composers/SingleProductSectionsComposer.php(19): App\Modules\ProductCatalog\DTO\ProductDTO->getSections()
#16 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php(93): App\Modules\ProductCatalog\Composers\SingleProductSectionsComposer->with()
#17 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php(83): Roots\Acorn\View\Composer->merge()
#18 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Concerns/ManagesEvents.php(124): Roots\Acorn\View\Composer->compose()
#19 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(458): Illuminate\View\Factory->Illuminate\View\Concerns\{closure}()
#20 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(286): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#21 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/events/Dispatcher.php(266): Illuminate\Events\Dispatcher->invokeListeners()
#22 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Concerns/ManagesEvents.php(177): Illuminate\Events\Dispatcher->dispatch()
#23 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(188): Illuminate\View\Factory->callComposer()
#24 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(159): Illuminate\View\View->renderContents()
#25 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/storage/framework/views/f005dc730e2e84da221e5feaafa1bf3a.php(4): Illuminate\View\View->render()
#26 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/filesystem/Filesystem.php(123): require('/home/oknopol/d...')
#27 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/filesystem/Filesystem.php(124): Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#28 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Engines/PhpEngine.php(58): Illuminate\Filesystem\Filesystem->getRequire()
#29 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Engines/CompilerEngine.php(72): Illuminate\View\Engines\PhpEngine->evaluatePath()
#30 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(207): Illuminate\View\Engines\CompilerEngine->get()
#31 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(190): Illuminate\View\View->getContents()
#32 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(159): Illuminate\View\View->renderContents()
#33 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/index.php(2): Illuminate\View\View->render()
#34 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-includes/template-loader.php(106): include('/home/oknopol/d...')
#35 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-blog-header.php(19): require_once('/home/oknopol/d...')
#36 /home/oknopol/domains/showroom.okno-pol.pl/public_html/index.php(17): require('/home/oknopol/d...')
#37 {main}
Next Illuminate\View\ViewException: App\Modules\ProductCatalog\Helpers\ShowRoomHelper::__construct(): Argument #1 ($data) must be of type object, null given, called in /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Composers/ShowRoomSectionComposer.php on line 19 (View: /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/resources/views/single-product-catalog.blade.php) in /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Helpers/ShowRoomHelper.php:9
Stack trace:
#0 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/Engines/CompilerEngine.php(72): Illuminate\View\Engines\PhpEngine->evaluatePath()
#2 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(207): Illuminate\View\Engines\CompilerEngine->get()
#3 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(190): Illuminate\View\View->getContents()
#4 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/vendor/illuminate/view/View.php(159): Illuminate\View\View->renderContents()
#5 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/index.php(2): Illuminate\View\View->render()
#6 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-includes/template-loader.php(106): include('/home/oknopol/d...')
#7 /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-blog-header.php(19): require_once('/home/oknopol/d...')
#8 /home/oknopol/domains/showroom.okno-pol.pl/public_html/index.php(17): require('/home/oknopol/d...')
#9 {main}
thrown in /home/oknopol/domains/showroom.okno-pol.pl/public_html/wp-content/themes/okno-pol-showroom/app/Modules/ProductCatalog/Helpers/ShowRoomHelper.php on line 9