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

Cookie_helper LTI class uses str_contains which requires PHP 8.0

XMLWordPrintable

    • 1
    • Team Alpha - Sprint 3 I1-2024

      The function str_contains is only available in PHP 8.0+. However, this function is used in MOODLE_401_STABLE here: https://github.com/moodle/moodle/commit/d63721cb15544480dd60d2deaec12d6f975b0dfe#diff-35dc42921d1f2ea5d983823ebaea112964f308c75598aa352297b53281ab9c3c

       

      This breaks LTI logins for Moodle sites that use PHP 7.4.

       

      Thanks to daph.hiebert@moodle.com for discovering this issue.

            jaked Jake Dallimore
            david.saylor@moodle.com David Saylor
            Ilya Tregubov Ilya Tregubov
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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