Fatal Error
-
we have installed the post-smtp plugin and it works well but in the admin side where we have integration with wooCommerce we are getting following error
When seeking help with this issue, you may be asked for some of the
following information:
WordPress version 6.8.1
Active theme: Botiga (version 1.0.9)
Current plugin: Post SMTP (version 3.3.0)
PHP version 8.4.6
Error Details
=============
An error of type E_ERROR was caused in line 515 of the file
/var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php.
Error message: Uncaught TypeError: file_get_contents(): Argument #1
($filename) must be of type string, array given in
/var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php:515
Stack trace:
#0 /var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php(515):
file_get_contents(Array)
#1 /var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanZendMailEngine.php(186):
PostmanMessage->addAttachmentsToMail(Object(Postman_Zend_Mail))
#2 /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(245):
PostmanZendMailEngine->send(Object(PostmanMessage))
#3 /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(60):
PostmanWpMail->sendMessage(Object(PostmanMessage),
Object(PostmanEmailLog))
#4 /var/www/html/wp-content/plugins/post-smtp/Postman/Phpmailer/PostsmtpMailer.php(136):
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Fatal Error’ is closed to new replies.