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

Deleting a user through site administration -> users->bulk user actions fails with a 'Coding error detected, it must be fixed by a programmer: PHP catchable fatal error' message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Unknown
    • Labels:
      None
    • Environment:
      Windows Server 2008
    • Database:
      Microsoft SQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Deleting a user through site administration > users>bulk user actions fails with a 'Coding error detected, it must be fixed by a programmer: PHP catchable fatal error' message.

      Steps to reproduce:

      1) Navigate to site administration > users>bulk user actions
      2) Select a user from the 'available' list into the 'selected' list.
      3) Choose 'Delete' from the 'with selected users' drop-down box
      4) Click the 'Go' button

      Expected: Deleted user confirmation page

      Got: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error' message.

      Debug info and stack trace is as follows:

      Debug info: Argument 1 passed to single_button::__construct() must be an instance of moodle_url, string given, called in C:\inetpub\wwwroot\moodle\admin\user\user_bulk_delete.php on line 47 and defined
      Stack trace:

      • line 308 of \lib\setuplib.php: coding_exception thrown
      • line 397 of \lib\outputcomponents.php: call to default_error_handler()
      • line 47 of \admin\user\user_bulk_delete.php: call to single_button->__construct()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              adaml Adam Landow
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10