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

Call to a member function getName() on a non-object in lib/dmllib.php on line 1515

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.14, 1.9.10
    • 1.8.13, 1.9.9
    • Database SQL/XMLDB
    • None
    • Win2003, IIS + FastCGI, PHP 5.3, Oracle XE 10
    • Oracle
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • Easy

      When trying a clean install of Moodle 1.9.9+ on Oracle XE 10 (Windows)

      PHP Fatal error:
      Call to a member function getName() on a non-object in lib/dmllib.php on line 1515

      Caused by a typo in dmllip.php on line 1515:

      • change this: $table->getName()
      • to this: $xmldb_table->getName()
      • or just: $table

      But this error occurs when the code is trying to report and recover from the following problem:

      • Sequence name for table config not found

      The last screen output before the fatal error was:

      • (oci8po): INSERT INTO m_log_display(module, action, mtable, field) VALUES ('tag', 'update', 'tag', 'name')
        Success
      • (oci8po): select * from (SELECT /+FIRST_ROWS/ name FROM M_config WHERE name = 'unicodedb') where rownum <= ? [ (adodb_offset=>'1') ]
      • (oci8po): SELECT * FROM M_config WHERE id = '-1'
      • (oci8po): select lower(cname),coltype,width, SCALE, PRECISION, NULLS, DEFAULTVAL from col where tname='M_CONFIG' order by colno

            stronk7 Eloy Lafuente (stronk7)
            xxxxxxx Gordon Bateson
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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