I have upserted around 50000 products today and all of a sudden I got this error and I am not sure what changed. My code is the same and has worked for past few hours. Any idea what may cause this?
Fatal error: Uncaught TypeError: Core\Utils\CoreHelper::serialize(): Return value must be of type ?string, false returned in /var/www/html/libraries/vendor/apimatic/core/src/Utils/CoreHelper.php:30 Stack trace: #0 /var/www/html/libraries/vendor/apimatic/core/src/Request/Request.php(249): Core\Utils\CoreHelper::serialize() #1 /var/www/html/libraries/vendor/apimatic/core/src/Request/RequestBuilder.php(147): Core\Request\Request->setBodyFormat() #2 /var/www/html/libraries/vendor/apimatic/core/src/ApiCall.php(45): Core\Request\RequestBuilder->build() #3 /var/www/html/libraries/vendor/square/square/src/Apis/BaseApi.php(34): Core\ApiCall->execute() #4 /var/www/html/libraries/vendor/square/square/src/Apis/CatalogApi.php(132): Square\Apis\BaseApi->execute() #5 /var/www/html/_APP/square/addProductsToSquare.class.php(192): Square\Apis\CatalogApi->batchUpsertCatalogObjects() #6 /var/www/html/_APP/square/addProductsToSquare.class.php(29): addProductsToSquare->buildBatchProductUpsert() #7 /var/www/html/CONTROLLERS/square.con.php(158): addProductsToSquare->init() #8 /var/www/html/_APP/init.php(112): require('...') #9 /var/www/html/DISPATCH.php(13): include('...') #10 {main} thrown in /var/www/html/libraries/vendor/apimatic/core/src/Utils/CoreHelper.php on line 30