Title: plugin crashed website
Last modified: May 23, 2023

---

# plugin crashed website

 *  Resolved [mathieu75](https://wordpress.org/support/users/mathieu75/)
 * (@mathieu75)
 * [3 years ago](https://wordpress.org/support/topic/plugin-crashed-website-3/)
 * Hi support,
 * Our website try to use this plugin. All WordPress, template & plugins are up 
   to date.
 * When we try to activate the plugin, the whole wordpress site crashed and have
   a server error.
 * We received this message from WordPress :
 * >     ```wp-block-code
   >     Si vous cherchez de l’aide pour ce problème, les informations suivantes pourraient vous être demandées :
   > 
   >     WordPress version 6.2.2
   > 
   >     Thème actif : CFDT (version 1.0.0)
   > 
   >     Extension actuelle : Quiz And Survey Master (version 8.1.7) PHP version 8.2.3
   > 
   >     Détails de l’erreur
   > 
   >     ======================
   > 
   >     Une erreur de type E_ERROR a été causée dans la ligne 148 du fichier /home/cfdtcas/www/wp-content/plugins/quiz-master-next/php/classes/class-qsm-migrate.php. Message d’erreur : Uncaught TypeError: Cannot access offset of type string on string in /home/cfdtcas/www/wp-content/plugins/quiz-master-next/php/classes/class-qsm-migrate.php:148
   > 
   >     Stack trace:
   > 
   >     #0 /home/cfdtcas/www/wp-content/plugins/quiz-master-next/php/classes/class-qsm-install.php(2149): QSM_Migrate::fix_duplicate_questions()
   > 
   >     #1 /home/cfdtcas/www/wp-includes/class-wp-hook.php(308): QSM_Install->update('')
   > 
   >     #2 /home/cfdtcas/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
   > 
   >     #3 /home/cfdtcas/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
   > 
   >     #4 /home/cfdtcas/www/wp-admin/admin.php(175): do_action('admin_init')
   > 
   >     #5 /home/cfdtcas/www/wp-admin/plugins.php(10): require_once('/home/cfdtcas/w...')
   > 
   >     #6 {main}
   > 
   >       thrown
   >     ```
   > 
 * Can you help us to solve this problem ?
 * Have a nice day
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-crashed-website-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/plugin-crashed-website-3/#post-16760980)
 * Hi [@mathieu75](https://wordpress.org/support/users/mathieu75/) ,
   We sincerely
   apologize for the inconvenience you have experienced.
 * I would like to bring this matter to the attention of our esteemed development
   team for further discussion. Rest assured, we are committed to resolving this
   issue promptly and efficiently.
 * Thank you for your patience, and I will personally ensure that you receive an
   update on the proposed solution in a timely manner.
 * Best regards,
   Sumit
    -  This reply was modified 3 years ago by [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/).
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/plugin-crashed-website-3/#post-16761198)
 * Hi [@mathieu75](https://wordpress.org/support/users/mathieu75/) ,
 * I request you to please do the below-given changes in this file php/classes/class-
   qsm-migrate.php .
 * Just replace the below-given code at line 148 and 149.
 *     ```wp-block-code
       $settings['pages']   = !empty( $pages ) ? maybe_serialize( $pages ) : "";
       $settings['qpages']  = !empty( $pages ) ? maybe_serialize( $qpages ) : "";
       ```
   
 * and below-given code at line 138.
 *     ```wp-block-code
       $settings    = !empty( $quiz->quiz_settings ) ? maybe_unserialize( $quiz->quiz_settings ) : array();
       ```
   
 * Once you add the above given code please clear the website and browser cache 
   and then check.
 * Do let me know if you still face the same issue.
 * Regards,
   Sumit
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [3 years ago](https://wordpress.org/support/topic/plugin-crashed-website-3/#post-16766717)
 * Dear [@mathieu75](https://wordpress.org/support/users/mathieu75/) ,
 * I hope this message finds you well. I would like to inquire about the status 
   of the issue you previously reported. Has it been successfully resolved, or are
   you still experiencing the same problem? I kindly request you to confirm the 
   current situation.
 * I appreciate your prompt response and look forward to hearing from you soon.
 * Best regards,
   Sumit

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

The topic ‘plugin crashed website’ 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: [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/plugin-crashed-website-3/#post-16766717)
 * Status: resolved