Title: Fatal error during user post
Last modified: February 27, 2017

---

# Fatal error during user post

 *  [rhondelon](https://wordpress.org/support/users/rhondelon/)
 * (@rhondelon)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-during-user-post/)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/key4ce-osticket-bridge_dddede.svg)
 * [Key4ce osTicket Bridge](https://wordpress.org/plugins/key4ce-osticket-bridge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/key4ce-osticket-bridge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/key4ce-osticket-bridge/)
 * [Active Topics](https://wordpress.org/support/plugin/key4ce-osticket-bridge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/key4ce-osticket-bridge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/key4ce-osticket-bridge/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rhondelon](https://wordpress.org/support/users/rhondelon/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-during-user-post/)
 * Status: not resolved