• I am getting a strange behavior when testing this plugin. Here are the conditions for replication.

    1. New user creates ticket
    2. Ticket is generated and updates appropriately
    3. User selects ticket to update it with a forgotten piece of information
    4. When hitting post, the user receives either a blank page, or the following error in debug mode.

    ERROR:

    Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: (setFrom) ' in  html/wp-includes/class-phpmailer.php:1023 Stack trace: 
    #0  html/wp-includes/pluggable.php(352): PHPMailer->setFrom('', 'Markland Recove...', false) 
    #1  html/wp-content/plugins/key4ce-osticket-bridge/includes/postreplymail.php(206): wp_mail(NULL, 'Ticket ID [#759...', '<div style="dis...', 'From: Markland ...') 
    #2  html/wp-content/plugins/key4ce-osticket-bridge/osticket-wp.php(94): require_once('/home1/markserv...') 
    #3  html/wp-content/plugins/key4ce-osticket-bridge/ost-bridge.php(99): require_once('/home1/markserv...') 
    #4 [internal function]: addtemplate('', '', 'addosticket') #5  html/wp-includes/shortcodes.php(345): call_user_func('addtemplate', '', '', 'addosticket') 
    #6 [internal function]: do_shortcode_tag(Array) 
    #7  html/wp-includes/shortcodes.php(223): preg_replace_ in  html/wp-includes/class-phpmailer.php on line 1023
    

    I’ve done some looking around it seems that the plugin is sending the wrong email address to the phpmailer but I can’t figure out exactly where that is being generated on the resubmit.

    Anyway, thanks for continuing this project and good luck with your new website, it’s coming along nicely.

    PS – your link to purchase a license for this plugin is currently broken on your new website.

    Thanks,
    Brian

  • The topic ‘Fatal error during user post’ is closed to new replies.