Fatal error: Uncaught TypeError: Argument 1 passed to SmartLabel::addCoCData() must be of the type array, null given, called in /var/www/html/product.php on line 47 and defined in /var/www/app/SmartLabel.php:102 Stack trace: #0 /var/www/html/product.php(47): SmartLabel::addCoCData(NULL) #1 {main} thrown in /var/www/app/SmartLabel.php on line 102