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

Invalid video width/height lang strings in TinyMCE media plugin

    XMLWordPrintable

Details

    Description

      Opening the editor on any page (e.g. editing user profile) produces the following notices in server error log:

      [Tue Jan 03 20:58:57.755548 2023] [php7:notice] [pid 1332] [client 192.168.122.1:57230] Debugging: Invalid get_string() identifier: 'videowidth' or component 'tiny_media'. Perhaps you are missing $string['videowidth'] = ''; in /opt/moodle/master/src/lib/editor/tiny/plugins/media/lang/en/tiny_media.php? in 
      * line 356 of /lib/classes/string_manager_standard.php: call to debugging()
      * line 206 of /lib/classes/output/mustache_template_source_loader.php: call to core_string_manager_standard->get_string()
      * line 181 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 209 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 231 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->load_with_dependencies()
      * line 181 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 253 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 153 of /lib/classes/output/external.php: call to core\\output\\mustache_template_source_loader->load_with_dependencies()
      * line 261 of /lib/externallib.php: call to core\\output\\external::load_template_with_dependencies()
      * line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
      * line 33 of /lib/ajax/service-nologin.php: call to require_once()
      , referer: http://moodle.internal/master/user/editadvanced.php?id=2&course=1
      [Tue Jan 03 20:58:57.755741 2023] [php7:notice] [pid 1332] [client 192.168.122.1:57230] Debugging: Invalid get_string() identifier: 'videoheight' or component 'tiny_media'. Perhaps you are missing $string['videoheight'] = ''; in /opt/moodle/master/src/lib/editor/tiny/plugins/media/lang/en/tiny_media.php? in 
      * line 356 of /lib/classes/string_manager_standard.php: call to debugging()
      * line 206 of /lib/classes/output/mustache_template_source_loader.php: call to core_string_manager_standard->get_string()
      * line 181 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 209 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 231 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->load_with_dependencies()
      * line 181 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 253 of /lib/classes/output/mustache_template_source_loader.php: call to core\\output\\mustache_template_source_loader->core\\output\\{closure}()
      * line 153 of /lib/classes/output/external.php: call to core\\output\\mustache_template_source_loader->load_with_dependencies()
      * line 261 of /lib/externallib.php: call to core\\output\\external::load_template_with_dependencies()
      * line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
      * line 33 of /lib/ajax/service-nologin.php: call to require_once()
      , referer: http://moodle.internal/master/user/editadvanced.php?id=2&course=1
      

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Huong Nguyen Huong Nguyen
              Jun Pataleta Jun Pataleta
              Kim Jared Lucas Kim Jared Lucas
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 58 minutes
                  1h 58m