• Resolved Howdy_McGee

    (@howdy_mcgee)


    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)
  • Plugin Support M Haseeb

    (@haseeb0001)

    Hi @howdy

    I hope you are doing well.

    We have fixed this issue in our Beta version; please download the beta from here, test it, and let me know.

    Thanks and regards,
    Support Team – WPExperts

    • This reply was modified 9 months, 3 weeks ago by M Haseeb.

    Hi @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.