( ! ) Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in D:\Ampla Group Dropbox\Completa _\Site\Inspevale\vendor\pagseguro\php\source\PagSeguroLibrary\domain\PagSeguroSender.class.php on line 171
( ! ) TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in D:\Ampla Group Dropbox\Completa _\Site\Inspevale\vendor\pagseguro\php\source\PagSeguroLibrary\domain\PagSeguroSender.class.php on line 171
Call Stack
#TimeMemoryFunctionLocation
10.0354378512{main}( )...\createPaymentRequestWithPreApproval.php:0
20.0404486920CreatePaymentRequestWithPreApproval::main( )...\createPaymentRequestWithPreApproval.php:145
30.0453615312PagSeguroRequest->setSender( $name = 'João Comprador', $email = 'email@comprador.com.br', $areaCode = '11', $number = '56273440', $documentType = 'CPF', $documentValue = '156.009.442-76' )...\createPaymentRequestWithPreApproval.php:70
40.0466639288PagSeguroSender->addDocument( $type = 'CPF', $value = '156.009.442-76' )...\PagSeguroRequest.class.php:479