Plugin Notice – Array on WPDB::Prepare
-
Hello,
I’ve been consistently getting the following PHP notice when using
wp_mail()
with this plugin installed.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:
#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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin Notice – Array on WPDB::Prepare’ is closed to new replies.