Deprecated: Optional parameter $handlers declared before required parameter $method is implicitly treated as a required parameter in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 53

Deprecated: Optional parameter $configs declared before required parameter $prefix is implicitly treated as a required parameter in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php on line 286

Fatal error: Uncaught Error: Call to undefined function PayPal\Common\php_uname() in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php:29 Stack trace: #0 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Handler/RestHandler.php(76): PayPal\Common\PayPalUserAgent::getValue('PayPal-PHP-SDK', '1.2.0') #1 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(71): PayPal\Handler\RestHandler->handle(Object(PayPal\Core\PayPalHttpConfig), '{"merchant_info...', Array) #2 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(103): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/invoicing/i...', 'POST', '{"merchant_info...', Array) #3 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/Invoice.php(730): PayPal\Common\PayPalResourceModel::executeCall('/v1/invoicing/i...', 'POST', '{"merchant_info...', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall)) #4 /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/sample/invoice/CreateInvoice.php(114): PayPal\Api\Invoice->create(Object(PayPal\Rest\ApiContext)) #5 {main} thrown in /home/harleydiaries/public_html/vendor/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalUserAgent.php on line 29