Private Messaging not sending messages

I’m attempting to send messages using the Private Messaging plugin. Although, whenever a user clicks the ‘send’ button, nothing seems to happen and a message doesn’t appear in the backend history. I’m not seeing any errors, so I’m drawing a blank on how to troubleshoot this. I tried disabling all my plugins (aside from PM) and it had no affect.

I made a video of what it looks like here:

https://youtu.be/jwRVT8i6R68

Can you give any suggestions?

  • Ash
    • Code Norris

    Hello @Michael

    Welcome to WPMU community!

    I hope you are doing good and thanks for asking the question :slight_smile:

    Would you please enable debug mode and check if any error is shown in that page?

    To enable debug mode please edit a line in your wp-config.php:

    Change

    define('WP_DEBUG', false);

    to

    define('WP_DEBUG', true);
    define('WP_DEBUG_log', true);
    define('WP_DEBUG_display', false);

    And then right click on the browser, select inspect element, select console tab, refresh the page, send another message.

    Now see if you see any error in console. And go to /wp-content/ folder, open the debug.log file and check if any error in there.

    Let us know.

    Have an awesome day!

    Cheers

    Ash

  • Michael
    • New Recruit

    I enabled debug mode and checked my log. I did have an error, but it was related to an entirely different plugin and triggered independently. I disabled the plugin, tested sending messages again, and unfortunately, no other errors popped up.

    Although, I did look in my Firebug console and found an error that appears after I try sending a message:

    POST http://twc.mikerezl.com/wp-admin/admin-ajax.php

    Response: {"status":"fail","errors":{"subject":"The <span class="ig-error-field">Subject</span> field is required"
    ,"send_to":"The <span class="ig-error-field">Send To</span> field is required"}}

    I tried adding a subject and using two versions of my shortcode:

    [pm_user user_id="23" subject="Hello"]
    <code></code>[pm_user user_name="lisa" subject="Hello"]

    But both give the same error. I’m also not sure what the ‘Send To’ field refers to.

    Does this indicate anything?