Title: Incompatible after upgrade PHP5.6 -&gt;PHP7
Last modified: September 1, 2016

---

# Incompatible after upgrade PHP5.6 ->PHP7

 *  Resolved [visserx](https://wordpress.org/support/users/visserx/)
 * (@visserx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/incompatible-after-upgrade-php56-php7/)
 * After upgrading to PHP7 WP was giving a fatal error regarding opentickets.
 * Fatal error: Switch statements may only contain one default clause in ……nl/httpd.
   www/wordpress/wp-content/plugins/opentickets-community-edition/inc/ticket/ticket.
   class.php on line 668
 *     ```
       $_GET = wp_parse_args( $_GET, array( 'frmt' => 'html' ) );
       		// do something different depending on the requested format
       		switch ( $_GET['frmt'] ) {
       			default: echo $out; break;
       			default: echo apply_filters( 'qsot-display-ticket-output-' . $_GET['frmt'] . '-format', $out, $code, array(
       				'ticket' => $ticket,
       				'template' => $template,
       				'stylesheet' => $stylesheet,
       				'page_title' => $page_title,
       			) ); break;
       		}
   
       		self::_restore_errors();
       ```
   
 * [https://wordpress.org/plugins/opentickets-community-edition/](https://wordpress.org/plugins/opentickets-community-edition/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [quadshot](https://wordpress.org/support/users/quadshot/)
 * (@quadshot)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/incompatible-after-upgrade-php56-php7/#post-7461544)
 * [@visserx](https://wordpress.org/support/users/visserx/)
 * [@aleksman](https://wordpress.org/support/users/aleksman/) found a solution to
   this issue and we’ll be including it in our next release.
 * comment line 668, cause 2 default clause is not supported in php7
 * // default: echo $out; break;

Viewing 1 replies (of 1 total)

The topic ‘Incompatible after upgrade PHP5.6 ->PHP7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/opentickets-community-edition_bcbcb3.
   svg)
 * [OpenTickets Community Edition](https://wordpress.org/plugins/opentickets-community-edition/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/opentickets-community-edition/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/opentickets-community-edition/)
 * [Active Topics](https://wordpress.org/support/plugin/opentickets-community-edition/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/opentickets-community-edition/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/opentickets-community-edition/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [quadshot](https://wordpress.org/support/users/quadshot/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/incompatible-after-upgrade-php56-php7/#post-7461544)
 * Status: resolved