• Resolved mathieu75

    (@mathieu75)


    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 :

    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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @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

    Hi @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.

    $settings['pages']   = !empty( $pages ) ? maybe_serialize( $pages ) : "";
    $settings['qpages']  = !empty( $pages ) ? maybe_serialize( $qpages ) : "";

    and below-given code at line 138.

    $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

    Dear @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.