Moodle
  1. Moodle
  2. MDL-39141

Notice: Undefined property: stdClass::$customtoolbar

    Details

    • Rank:
      49738

      Description

      I saw the following notice when upgrading a site from Moodle 2.3 to integration master as at 16/04/13.

      Notice: Undefined property: stdClass::$customtoolbar

      1. Time Memory Function Location
        1 0.0013 661624
        Unknown macro: {main}

        ( ) ../upgradesettings.php:0
        2 4.7902 66561120 admin_output_new_settings_by_page( ) ../upgradesettings.php:25
        3 5.0560 69357080 admin_output_new_settings_by_page( ) ../adminlib.php:6579
        4 5.0560 69359480 admin_output_new_settings_by_page( ) ../adminlib.php:6579
        5 5.0926 69381096 admin_output_new_settings_by_page( ) ../adminlib.php:6579
        6 5.2050 70179048 admin_setting_confightmleditor->output_html( ) ../adminlib.php:6604
        7 5.2052 70179936 tinymce_texteditor->use_editor( ) ../adminlib.php:1984
        8 5.2053 70182632 tinymce_texteditor->get_init_params( ) ../lib.php:105

      The notice was seen on the upgrade settings page at the end of the upgrade.

      Tested upgrading to 2.4 and that was not affected, so master only.

        Activity

        Hide
        Frédéric Massart added a comment -

        Seen the same while testing MDL-39132.

        Notice: Undefined property: stdClass::$customtoolbar in /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php on line 176
        
        Call Stack:
            0.0002     669464   1. {main}() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:0
            4.0445  105240528   2. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:25
            4.2071  111178960   3. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579
            4.2071  111182448   4. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579
            4.2309  111213152   5. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579
            4.2769  112152480   6. admin_setting_confightmleditor->output_html() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6604
            4.2770  112153808   7. tinymce_texteditor->use_editor() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:1984
            4.2771  112157600   8. tinymce_texteditor->get_init_params() /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php:105
        
        
        Notice: Undefined property: stdClass::$customtoolbar in /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php on line 176
        
        Call Stack:
            0.0002     669464   1. {main}() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:0
            4.0445  105240528   2. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:25
            4.2941  112430776   3. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579
            4.2941  112432600   4. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579
            4.2944  112433824   5. admin_setting_special_frontpagedesc->output_html() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6604
            4.2945  112434944   6. print_textarea() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:3615
            4.2947  112436272   7. tinymce_texteditor->use_editor() /home/fred/www/repositories/i23test/moodle/lib/deprecatedlib.php:1907
            4.2947  112436864   8. tinymce_texteditor->get_init_params() /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php:105
        
        Show
        Frédéric Massart added a comment - Seen the same while testing MDL-39132 . Notice: Undefined property: stdClass::$customtoolbar in /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php on line 176 Call Stack: 0.0002 669464 1. {main}() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:0 4.0445 105240528 2. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:25 4.2071 111178960 3. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579 4.2071 111182448 4. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579 4.2309 111213152 5. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579 4.2769 112152480 6. admin_setting_confightmleditor->output_html() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6604 4.2770 112153808 7. tinymce_texteditor->use_editor() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:1984 4.2771 112157600 8. tinymce_texteditor->get_init_params() /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php:105 Notice: Undefined property: stdClass::$customtoolbar in /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php on line 176 Call Stack: 0.0002 669464 1. {main}() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:0 4.0445 105240528 2. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/admin/upgradesettings.php:25 4.2941 112430776 3. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579 4.2941 112432600 4. admin_output_new_settings_by_page() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6579 4.2944 112433824 5. admin_setting_special_frontpagedesc->output_html() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:6604 4.2945 112434944 6. print_textarea() /home/fred/www/repositories/i23test/moodle/lib/adminlib.php:3615 4.2947 112436272 7. tinymce_texteditor->use_editor() /home/fred/www/repositories/i23test/moodle/lib/deprecatedlib.php:1907 4.2947 112436864 8. tinymce_texteditor->get_init_params() /home/fred/www/repositories/i23test/moodle/lib/editor/tinymce/lib.php:105
        Hide
        Petr Škoda added a comment -

        Thanks for the report!

        Show
        Petr Škoda added a comment - Thanks for the report!
        Hide
        Dan Poltawski added a comment -

        The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

        TIA and ciao

        Show
        Dan Poltawski added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
        Hide
        Dan Poltawski added a comment -

        Integrated to master and 24 - thanks

        Show
        Dan Poltawski added a comment - Integrated to master and 24 - thanks
        Hide
        Adrian Greeve added a comment -

        upgraded from 2.3 to 2.4 - no errors
        upgraded from 2.3 to master - no errors
        test passed.

        Show
        Adrian Greeve added a comment - upgraded from 2.3 to 2.4 - no errors upgraded from 2.3 to master - no errors test passed.
        Hide
        Eloy Lafuente (stronk7) added a comment -

        I feel myself really alone tonight! So was time to push your fixes upstream!

        "Lest we forget. We will remember them."

        Thanks and ciao!

        Show
        Eloy Lafuente (stronk7) added a comment - I feel myself really alone tonight! So was time to push your fixes upstream! "Lest we forget. We will remember them." Thanks and ciao!

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: