Warning associated with PHPMailer.php class
-
Hi,
I struggle with the following warnings that are logged form time to time on my website:
PHP Warning: preg_match() expects parameter 2 to be string, array given in /wp-includes/PHPMailer/PHPMailer.php on line 1845, referer: /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=xxx
PHP Warning: file_exists() expects parameter 1 to be a valid path, array given in /html/wp-includes/PHPMailer/PHPMailer.php on line 1860, referer: /wp-cron.php?doing_wp_cron=1655298581.673115015029907
I struggle to identify source of these warning. They seem to related to cron job that uses PHPMailer class, and I’m aware that your plugin currently sends some automatic emails from the website.
Could you let me know, please, if these warnings are related to your plugin? If yes, is there any way to fix them?
Thank you for any advice,
- The topic ‘Warning associated with PHPMailer.php class’ is closed to new replies.