Title: php error using  [addoscontact]
Last modified: August 31, 2016

---

# php error using [addoscontact]

 *  Resolved [raykaii](https://wordpress.org/support/users/raykaii/)
 * (@raykaii)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-using-addoscontact/)
 * im useing:
    php: 5.6 WordPress: 4.4.2 osTicket (v1.9.12)
 * When using [addoscontact] i get this error:
 * Fatal error: Uncaught Exception: Should not happen: User is not logged in in /***/
   key4ce-osticket-bridge/osticket-wp.php:136 Stack trace: #0 /***/key4ce-osticket-
   bridge/templates/contact_ticket.php(20): require_once() #1 /***/key4ce-osticket-
   bridge/ost-bridge.php(80): require_once(‘/***…’) #2 /***/shortcodes.php(326):
   addcontact(”, ”, ‘addoscontact’) #3 [internal function]: do_shortcode_tag(Array)#
   4 /***/shortcodes.php(223): preg_replace_callback(‘/\\[(\\[?)(addosc…’, ‘do_shortcode_ta…’,‘[
   addoscontact]\n’) #5 /***/plugin.php(235): do_shortcode(‘[addoscontact]\n’) #
   6 /***/post-template.php( in /***/key4ce-osticket-bridge/osticket-wp.php on line
   136
 * —————
 * but if im login i have no error and i can see the page fine …
 * [https://wordpress.org/plugins/key4ce-osticket-bridge/](https://wordpress.org/plugins/key4ce-osticket-bridge/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [raykaii](https://wordpress.org/support/users/raykaii/)
 * (@raykaii)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-using-addoscontact/#post-7114162)
 * resolved i selected the wrong page in the settings

Viewing 1 replies (of 1 total)

The topic ‘php error using [addoscontact]’ 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/)

## Tags

 * [osticket](https://wordpress.org/support/topic-tag/osticket/)

 * 1 reply
 * 1 participant
 * Last reply from: [raykaii](https://wordpress.org/support/users/raykaii/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/php-error-using-addoscontact/#post-7114162)
 * Status: resolved