Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82022

H5P get_content() on bool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.3.3
    • H5P
    • None
    • MOODLE_403_STABLE

      I have 2 moodles on different servers.

      Moodle A:  Version 4.3, This moodle was updated from version 3.9. It contains courses with new h5p activities from h5pactivity and old hvp activities from mod_hvp. 

      Moodle B: Version 4.3.3+   with mod_hvp installed. This moodle was installed as moodle 4.3, not updated from older versions.

       

      When I import a course from Moodle A in Moodle B, new h5p are playing well. Old hvp from mod_hvp throw the following error:

      Call to a member function get_content() on bool Debug:
      > Error code: generalexceptionmessage
      > * line 258 of /mod/hvp/classes/file_storage.php: Error thrown
      > * line 2537 of /mod/hvp/library/h5p.classes.php: call to mod_hvp\file_storage->cacheAssets()
      > * line 194 of /mod/hvp/classes/view_assets.php: call to H5PCore->getDependenciesFiles()
      > * line 90 of /mod/hvp/classes/view_assets.php: call to mod_hvp\view_assets->getdependencyfiles()
      > * line 44 of /mod/hvp/view.php: call to mod_hvp\view_assets->__construct()

       

      This error seems to be the same error as reported here, some 4 years ago:

      https://h5p.org/node/580545

      I am no moodle developer, so I cant fix this. Is there anybody who can solve this problem?

      Best wishes

      Wolfgang

            Unassigned Unassigned
            wschoener Wolfgang Schöner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.