Fatal error: Uncaught Error: Call to a member function toArray() on null in /home/gttow/public_html/src/App/Service/Commerce/Category/Category.php:207 Stack trace: #0 /home/gttow/public_html/src/App/Controller/ProductController.php(182): AWD\Boilerplate\Service\Commerce\Category\Category->detail(Array) #1 /home/gttow/public_html/src/App/Router/Dispatcher.php(35): AWD\Boilerplate\Controller\ProductController->view('durite-led-smd-...') #2 /home/gttow/public_html/src/App/Router/Router.php(669): AWD\Boilerplate\Router\Dispatcher->dispatch(Object(AWD\Boilerplate\Router\Router), 'ProductControll...', 'view') #3 /home/gttow/public_html/src/App/Router/Router.php(614): AWD\Boilerplate\Router\Router->initController('ProductControll...', 'view') #4 /home/gttow/public_html/src/App/Router/Router.php(480): AWD\Boilerplate\Router\Router->loadController('ProductControll...', 'view') #5 /home/gttow/public_html/src/App/Router/Router.php(264): AWD\Boilerplate\Router\Router->createRoute(Array, '/products/{hook...', Array) #6 /home/gttow/public_html/src/App/Router/Router.php(144): AWD\Boilerplate\Router\Router->addRoute(Array, '/products/{hook...', Array) #7 /home/gttow/public_html/routes/web.php(40): AWD\Boilerplate\Router\Router->get('/products/{hook...', Array) #8 /home/gttow/public_html/src/App/Boilerplate.php(57): require_once('/home/gttow/pub...') #9 /home/gttow/public_html/src/App/Boilerplate.php(41): AWD\Boilerplate\Boilerplate->registerApp() #10 /home/gttow/public_html/src/App/Boilerplate.php(19): AWD\Boilerplate\Boilerplate->registerComponents() #11 /home/gttow/public_html/index.php(53): AWD\Boilerplate\Boilerplate->init() #12 {main} thrown in /home/gttow/public_html/src/App/Service/Commerce/Category/Category.php on line 207