Title: Plugin Notice &#8211; Array on WPDB::Prepare
Last modified: October 19, 2023

---

# Plugin Notice – Array on WPDB::Prepare

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-notice-array-on-wpdbprepare/)
 * Hello,
 * I’ve been consistently getting the following PHP notice when using `wp_mail()`
   with this plugin installed.
 *     ```wp-block-code
       PHP Notice: Function wpdb::prepare was called incorrectly. Unsupported value type (array). …for more information. (This message was added in version 4.8.2.) in /wp-includes/functions.php on line 5905
       ```
   
 * It looks like it’s coming from wpdb::insert() via /post-smtp/Postman/PostmanEmailLogs.
   php(261) – here’s the error trace I put into place:
 *     ```wp-block-code
       #0 /wp-includes/class-wpdb.php(2689): wpdb->prepare()
       #1 /wp-includes/class-wpdb.php(2601): wpdb->_insert_replace_helper()
       #2 /wp-content/plugins/post-smtp/Postman/PostmanEmailLogs.php(261): wpdb->insert()
       #3 /wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(186): PostmanEmailLogs->save()
       #4 /wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(113): PostmanEmailLogService->writeToEmailLog()
       #5 /wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(85): PostmanEmailLogService->writeSuccessLog()
       #6 /wp-includes/class-wp-hook.php(310): PostmanEmailLogService->write_success_log()
       #7 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
       #8 /wp-includes/plugin.php(517): WP_Hook->do_action()
       #9 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(262): do_action()
       #10 /wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(60): PostmanWpMail->sendMessage()
       #11 /wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(121): PostmanWpMail->send()
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-notice-array-on-wpdbprepare/#post-17138252)
 * Hi [@howdy](https://wordpress.org/support/users/howdy/)
 * I hope you are doing well.
 * We have fixed this issue in our Beta version; please download the beta from [here](https://we.tl/t-wbr9KsZAKj),
   test it, and let me know.
 * Thanks and regards,
   Support Team – WPExperts
    -  This reply was modified 2 years, 7 months ago by [M Haseeb](https://wordpress.org/support/users/haseeb0001/).
 *  [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * (@furqanfazal)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-notice-array-on-wpdbprepare/#post-17160558)
 * Hi [@howdy_mcgee](https://wordpress.org/support/users/howdy_mcgee/),
 * We haven’t received any updates from you, so we will consider this thread resolved.
   If you require further assistance, please feel free to start a new thread with
   us.
 * Thanks and Regards,
   Support Team-WP Experts.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Notice – Array on WPDB::Prepare’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 2 replies
 * 3 participants
 * Last reply from: [furqanfazal](https://wordpress.org/support/users/furqanfazal/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/plugin-notice-array-on-wpdbprepare/#post-17160558)
 * Status: resolved