PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method Spatie\WordpressRay\Loggers\MailLogger::sendMailToRay()
And
PHP Notice: Undefined property: Spatie\WordpressRay\Payloads\MailPayload::$html in /wp-content/plugins/wordpress-ray/src/Payloads/MailPayload.php on line 25
Fixing a warning and notice:
And