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

Debug notices when viewing user posts

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-45409-master
    • Hide
      1. Login as a user who has created discussions and forum posts
      2. Go to user profile
      3. click on My profile > Forum posts > Posts
      4. click on My profile > Forum posts > discussions
      5. Make sure no error/notices are seen
      Show
      Login as a user who has created discussions and forum posts Go to user profile click on My profile > Forum posts > Posts click on My profile > Forum posts > discussions Make sure no error/notices are seen

      To replicate:-

      1. Go to a user profile
      2. click on forum posts > post
        Notice similar to below will be shown

        $cm->availablefrom and $cm->availableuntil have been deprecated. This information is no longer available as the system provides more complex options (for example, there might be different dates for different users).
         
            line 1831 of /lib/modinfolib.php: call to debugging()
            line 1176 of /lib/modinfolib.php: call to cm_info->get_deprecated_available_date()
            line 1197 of /lib/modinfolib.php: call to cm_info->__get()
            line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
            line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()
         
        $cm->showavailability property has been deprecated. You can replace it by checking if $cm->availableinfo has content.
         
            line 1816 of /lib/modinfolib.php: call to debugging()
            line 1176 of /lib/modinfolib.php: call to cm_info->get_show_availability()
            line 1197 of /lib/modinfolib.php: call to cm_info->__get()
            line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
            line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()
         
        $cm->availablefrom and $cm->availableuntil have been deprecated. This information is no longer available as the system provides more complex options (for example, there might be different dates for different users).
         
            line 1831 of /lib/modinfolib.php: call to debugging()
            line 1176 of /lib/modinfolib.php: call to cm_info->get_deprecated_available_date()
            line 1197 of /lib/modinfolib.php: call to cm_info->__get()
            line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
            line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            Simey Lameze Simey Lameze
            Marina Glancy Marina Glancy
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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