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

Unexpected return type error in assignment when portfolios are enabled

    XMLWordPrintable

Details

    Description

      Hi,

      when submitting a file in activity assignment or view a submission you get following error:

      mod_assign\output\renderer::get_portfolio_button(): Return value must be of type string, null returned

      Moodle 4.2.1+ (Build: 20230629)
      PHP 8.1.20, apache Apache/2.4.52 with fpm

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              baltaner Bertold Altaner
              Mihail Geshoski Mihail Geshoski
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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