Request Object
Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, string given in /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php:179
Stack trace:
#0 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(179): sizeof('authorize')
#1 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(281): PayPal\Common\PayPalModel->_convertToArray(Array)
#2 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(296): PayPal\Common\PayPalModel->toArray()
#3 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/sample/common.php(153): PayPal\Common\PayPalModel->toJSON(128)
#4 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/sample/common.php(69): ResultPrinter::printObject(Object(PayPal\Api\FuturePayment))
#5 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/sample/common.php(119): ResultPrinter::printOutput('Future Payment', 'Payment', NULL, Object(PayPal\Api\FuturePayment), '{"error":"inval...', 'Got Http respon...')
#6 /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/sample/payments/CreateFuturePayment.php(89): ResultPrinter::printError('Future Payment', 'Payment', NULL, Object(PayPal\Api\FuturePayment), Object(PayPal\Exception\PayPalConnectionException))
#7 {main}
thrown in /home/mesposnet/public_html/eksik/code/renew/paypal-sdk/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179