Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/karcherb/app/code/products/abstractProductsRegister.php:51
Stack trace:
#0 /home/karcherb/app/code/interactors/front/productsInteractor.php(138): abstractProductsRegister::toArray()
#1 /home/karcherb/app/code/routers/syncFront.php(31): productsInteractor->getDetail(0)
#2 /home/karcherb/public_html/index.php(34): syncRouterFrontend->run(Array, '1')
#3 {main}
thrown in /home/karcherb/app/code/products/abstractProductsRegister.php on line 51