donhinkelman / moodle-block_sharing_cart

Content sharing plug-in for Moodle LMS. Now at version 4.4, release 3 (actually this is for Moodle LMS version 4.3. Requires PHP 7.4.
7 stars 38 forks source link

Error Message #144

Closed ozyurt45 closed 1 year ago

ozyurt45 commented 1 year ago

Hi, I have successfully copied a quiz item to basket. But I get error when I try to paste it back.

Error message is

"Exception - Too few arguments to function restore_dbops::restore_get_question_categories(), 2 passed in [dirroot]/blocks/sharing_cart/backup/moodle2/restore_fix_missing_questions.php on line 52 and exactly 3 expected"

donhinkelman commented 1 year ago

Thank you for reporting your problem. How can we replicate this error? Could you tell us more about your system? - Moodle version, theme version, Sharing Cart version? Does this happen in all browsers? Does it happen with other quizzes on your site?

ematilla commented 1 year ago

Hi. Same error as reported by @ozyurt45 . Both on quiz and H5P content. Moodle 3.11, sharing cart version : 3.10, release 8 and also tried with the lastest one 4.0 release 2.

Thanks for your help.

donhinkelman commented 1 year ago

Thank you, ematilla, for reporting the same issue. I will assign this to our Praxis colleagues.

donhinkelman commented 1 year ago

I wonder if this is related to: https://github.com/donhinkelman/moodle-block_sharing_cart/issues/118

frederikmillingpytlick commented 1 year ago

As @donhinkelman also mentioned, this seems to be the same issue as #118 and I am therefore closing this issue. Further comments can be made there.

I've created a task on our task board for someone at Praxis to take a look at it in the near future