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

Array to string conversion in textlib.class.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.1
    • 2.3
    • Blocks
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • w27_MDL-34115_m24_arrayofarrayssort
    • Hide

      1/ go to admin manage blocks page
      2/ no notices expected, the block should be sorted by names
      3/ repeat with non-english language with some special first chars in block names (such as Czech)

      Show
      1/ go to admin manage blocks page 2/ no notices expected, the block should be sorted by names 3/ repeat with non-english language with some special first chars in block names (such as Czech)

      When accessing moodle2/admin/blocks.php I received approximately 375 instances of the following notice, after which the page appears to load as expected:

      Notice: Array to string conversion in lib/textlib.class.php on line 785

      1. Time Memory Function Location
        1 0.0007 174440 {main}

        ( ) ../blocks.php:0
        2 1.3495 29669772 collatorlib::asort( ) ../blocks.php:228
        3 1.3496 29669912 Collator->asort( ) ../textlib.class.php:785

      I believe this may be because I am running Moodle 2.3 on PHP 5.4. Full specs:

      • Debian GNU/Linux unstable (sid)
      • Apache 2.2.22
      • MySQL 5.5.24
      • PHP PHP 5.4.4-2

            skodak Petr Skoda
            vaughany Paul Vaughan (Inactive)
            Sam Hemelryk Sam Hemelryk
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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