Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, string given in /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php:176 Stack trace: #0 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(176): sizeof() #1 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(278): PayPal\Common\PayPalModel->_convertToArray() #2 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php(293): PayPal\Common\PayPalModel->toArray() #3 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Plan.php(355): PayPal\Common\PayPalModel->toJSON() #4 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/sample/billing/CreatePlan.php(66): PayPal\Api\Plan->create() #5 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/sample/billing/UpdatePlan.php(14): require('/home/cp420145/...') #6 /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/sample/billing/CreateBillingAgreementWithPayPal.php(12): require('/home/cp420145/...') #7 {main} thrown in /home/cp420145/public_html/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 176