Title: PHP7.4 Sentry issues
Last modified: August 19, 2020

---

# PHP7.4 Sentry issues

 *  Resolved [jagfiend](https://wordpress.org/support/users/jagfiend/)
 * (@jagfiend)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php7-4-sentry-issues/)
 * Hi there,
 * Since switching our site to PHP 7.4 and integrating Sentry we have got 100’s 
   of instances of this msg:
 *     ```
       ErrorException /wp-content/plugins/quiz-master-next/mlw_quizmaster2.php in include
       Deprecated: Unparenthesized 'a ? b : c ? d : e' is deprecated. Use either '(a ? b : c) ? d : e' or 'a ? b : (c ? d : e)'
       ```
   
 * Sentry flags this as from line 167 of quiz-master-next/mlw_quizmaster2.php which
   is an include to quiz-master-next/php/classes/class-qmn-quiz-creator.php. Looking
   at file I I believe the issue is the nested ternary on line 351.
 * Potential fix is to wrap the second ternary in parentheses:
 * `'quiz_system' => isset( $mlw_qmn_duplicate_data->system ) ? $mlw_qmn_duplicate_data-
   >system : (isset( $mlw_qmn_duplicate_data->quiz_system ) ? $mlw_qmn_duplicate_data-
   >quiz_system : 0),`
    -  This topic was modified 5 years, 9 months ago by [jagfiend](https://wordpress.org/support/users/jagfiend/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [expresstechsupport](https://wordpress.org/support/users/expresstechsupport/)
 * (@expresstechsupport)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php7-4-sentry-issues/#post-13287164)
 * Hi [@jagfiend](https://wordpress.org/support/users/jagfiend/),
 * I will talk to the development team regarding this issue and get back to you 
   as soon as possible.
 * Regards,
    Kriti
 *  [expresstechsupport](https://wordpress.org/support/users/expresstechsupport/)
 * (@expresstechsupport)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/php7-4-sentry-issues/#post-13343912)
 * Hi there,
 * We have fixed this issue in the latest version release of the plugin. Please 
   update the plugin and let me know if you face any issue.
 * Regards,
    Kriti
 *  Thread Starter [jagfiend](https://wordpress.org/support/users/jagfiend/)
 * (@jagfiend)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php7-4-sentry-issues/#post-13372157)
 * Thank you – this now resolved! =)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP7.4 Sentry issues’ is closed to new replies.

 * ![](https://ps.w.org/quiz-master-next/assets/icon-128x128.png?rev=3158087)
 * [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker](https://wordpress.org/plugins/quiz-master-next/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-master-next/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-master-next/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-master-next/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-master-next/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-master-next/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [jagfiend](https://wordpress.org/support/users/jagfiend/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/php7-4-sentry-issues/#post-13372157)
 * Status: resolved