Debug info: Duplicate entry '1-1' for key 'mdl_quizsect_quifir_uix'

Re: תשובה ל: Re: תשובה ל: Re: Debug info: Duplicate entry '1-1' for key 'mdl_quizsect_quifir_uix'

by Cameron Webster -
Number of replies: 0

Hi

I've just had the same problem.  I'm in the process of upgrading from 2.8.3 and have decided to upgrade incrementally starting at the latest 2.8.12 and then through 2.9 etc up to date.  It's laborious but generally flushes out problems that you might not see jumping straight to 3.0 and then the latest.

I've found a "workaround" to get past this, which involved clearing out the mdl_quiz_sections table and allowing it to be rebuilt during the upgrade process.  I've done no testing and I'm not recommending this as a solution without your own testing to check everything works as expected following the upgrade:

- connect to your mysql instance and run "delete from mdl_quiz_sections;" and retry the upgrade.  mdl_quiz_sections will be rebuilt.


Thanks

Cammy