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

Debugging: Invalid get_string() identifier: 'cm_stealth_feedback_batch'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2.7, 4.3.4
    • 4.2.6, 4.3.3
    • Course
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-81191-403
    • Hide
      1. Log in as admin
      2. Navigate to General > Advanced features from site administration
      3. Enable Allow stealth activities and save changes
      4. Create a course
      5. Turn Edit mode on
      6. Add two Page resources to the course
      7. Enable Bulk actions
      8. Select the two Page resources
      9. In the sticky footer, press Availability
      10. Select Make available but don't show on course page and press Apply
      11. Confirm the following is not present in webserver error log:

        Debugging: Invalid get_string() identifier: 'cm_stealth_feedback_batch' or component 'core_courseformat'.
        

      Show
      Log in as admin Navigate to General > Advanced features from site administration Enable Allow stealth activities and save changes Create a course Turn Edit mode on Add two Page resources to the course Enable Bulk actions Select the two Page resources In the sticky footer, press Availability Select Make available but don't show on course page and press Apply Confirm the following is not present in webserver error log: Debugging: Invalid get_string() identifier: 'cm_stealth_feedback_batch' or component 'core_courseformat'.

      This has been detected by MDL-76444 (inspecting apache logs before PHP 8.3 / Moodle 4.4 release). It was called "Problem W" there.

      Apparently, it happens when, from the course view page, some stealth stuff or page is loaded. Here it is the stack trace:

      112721:[Fri Mar 08 19:22:24.280966 2024] [php:notice] [pid 3886] [client 172.25.0.13:35076] Debugging: Invalid get_string() identifier: 'cm_stealth_feedback_batch' or component 'core_courseformat'. Perhaps you are missing $string['cm_stealth_feedback_batch'] = ''; in lang/en/core_courseformat.php? in

      • line 355 of /lib/classes/string_manager_standard.php: call to debugging()
      • line 108 of /lib/external/externallib.php: call to core_string_manager_standard->get_string()
      • line ? of unknownfile: call to core_external::get_string()
      • line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
      • line 83 of /lib/ajax/service.php: call to core_external
        external_api::call_external_function()
      • line 33 of /lib/ajax/service-nologin.php: call to require_once()
        , referer: http://webserver63976c3e94796505/behatrun2/course/view.php?id=102000

      (it happens once per behat execution, estimated)

      It has been detected in main (4.4dev) although it may affect to previous (stable) branches too.

            pholden Paul Holden
            stronk7 Eloy Lafuente (stronk7)
            Carlos Escobedo Carlos Escobedo
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 48 minutes
                48m

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