Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, string given in /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php:176
Stack trace:
#0 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(176): sizeof('visa')
#1 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(278): PayPal\Common\PayPalModel->_convertToArray(Array)
#2 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(293): PayPal\Common\PayPalModel->toArray()
#3 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/CreditCard.php(435): PayPal\Common\PayPalModel->toJSON()
#4 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/sample/vault/CreateCreditCard.php(46): PayPal\Api\CreditCard->create(Object(PayPal\Rest\ApiContext))
#5 /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/sample/payments/CreatePaymentUsingSavedCard.php(9): require('/home/tnccom/po...')
#6 {main}
thrown in /home/tnccom/pos.tnc.com.ph/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 176