Support » Plugin: Dexs PM System » Frontend Success Message

  • Resolved Divyansh Kumar Singh


    After clicking on the the Send button it’s not showing any message neither it redirects back to inbox. It simply reloads the page with same message i wrote in the text area but message is actually sent to the respective user…

    Backend works fine…though.
    I’m using 3.4.2 wordpress…

    Btw very nice plugin though! Waiting for your response.

Viewing 1 replies (of 1 total)
  • Plugin Author pytesNET



    I’m sorry to have kept you waiting so long.

    The Bugfix:
    Bugfix (Download)
    Download this ZIP Archive and unpack it in the plugins directory.


    Here are the lines you must change, if you want to do this manually:


    # OLD LINE:
    header("Location: $success_url");
    # NEW LINE:
    header("Location: $success_url"); die();

    I also change the line above, but that’s not really important.


    # OLD LINE:
    # NEW LINE:
    if(!isset($GLOBALS['pm_error']) || empty($GLOBALS['pm_error'])){

    If you have write the shortcode [pmsystem] on a Post and not on a page, so you must add the following lines (don’t change anything):


    # ADD
    $pages = get_posts(array('sort_order' => 'ASC',	'sort_column' => 'post_content', 'post_status' => 'publish'));
    	foreach($pages AS $page){
    		if(preg_match("#(.*)\[pm_system\](.*)#", $page->post_content)){
    			$page_id[] = $page->ID;

    That’s all 🙂
    Thank you for using my plugin and thanks for the bug report.

    Have a nice day.


Viewing 1 replies (of 1 total)
  • The topic ‘Frontend Success Message’ is closed to new replies.