Moodle

Notice in Youtube Block

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.9
  • Fix Version/s: 2.0
  • Component/s: Blocks
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Notice: Only variable references should be returned by reference in /var/www/moodle/learntest/lib/phpxml/xml.php on line 7

...when displaying Youtube block on a tag page.

Issue Links

Activity

Hide
Anthony Borrow added a comment -

Duplicate of MDL-13631

Show
Anthony Borrow added a comment - Duplicate of MDL-13631
Hide
Anthony Borrow added a comment -

Howard - I believe the error was on line 73. There is a fix in HEAD outlined in MDL-13631 which MD has recommended not be applied to 1.9 since there may be folks using 1.9 with PHP 4. If you are using PHP5 you can apply the simple fix as noted at http://cvs.moodle.org/moodle/lib/phpxml/xml.php?r1=1.2&r2=1.3&pathrev=HEAD or in the attached patch. Peace - Anthony

Show
Anthony Borrow added a comment - Howard - I believe the error was on line 73. There is a fix in HEAD outlined in MDL-13631 which MD has recommended not be applied to 1.9 since there may be folks using 1.9 with PHP 4. If you are using PHP5 you can apply the simple fix as noted at http://cvs.moodle.org/moodle/lib/phpxml/xml.php?r1=1.2&r2=1.3&pathrev=HEAD or in the attached patch. Peace - Anthony
Hide
Anthony Borrow added a comment -

This patch file is based off of the fix for MDL-13631; however, it should ONLY be used with Moodle 1.9 if the site is running PHP 5 as it will likely cause problems with PHP 4 as noted in MDL-13631. I wanted to post this here in case folks using PHP5 wanted to apply the patch to their sites. Peace - Anthony

Show
Anthony Borrow added a comment - This patch file is based off of the fix for MDL-13631; however, it should ONLY be used with Moodle 1.9 if the site is running PHP 5 as it will likely cause problems with PHP 4 as noted in MDL-13631. I wanted to post this here in case folks using PHP5 wanted to apply the patch to their sites. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: