Hello. I have a doubt related with the PHP file that is included in the lesson to send the encrypted notifications.
When I run the script and error appears indicating that the Key passed is null? Find the error below.
Do you know how can I solve this issue?
Warning: openssl_sign(): Supplied key param cannot be coerced into a private key in /Users/ana.rebollo/Downloads/2 ModifyingThePayload/Beginning/sendEncrypted.php on line 30
PHP Deprecated: base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated in /Users/ana.rebollo/Downloads/2 ModifyingThePayload/Beginning/sendEncrypted.php on line 32