"Deprecated" warning coming from BBCode parser

Bug #1415709 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Aaron Wells
1.10
Fix Released
Low
Unassigned
1.8
Fix Released
Low
Unassigned
1.9
Fix Released
Low
Unassigned
15.04
Fix Released
Low
Aaron Wells

Bug Description

Each time I make a wall post, I see this warning message in my logs:

[Thu Jan 29 15:44:50.155838 2015] [:error] [pid 15222] [client 127.0.0.1:44464] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/aaronw/www/mahara/htdocs/lib/stringparser_bbcode/stringparser.class.php
 on line 285, referer: http://vegas.wgtn.cat-it.co.nz/mahara/htdocs/user/view.php?id=1

Aaron Wells (u-aaronw)
Changed in mahara:
importance: Undecided → Low
milestone: none → 15.04.0
assignee: nobody → Aaron Wells (u-aaronw)
status: New → In Progress
Revision history for this message
Aaron Wells (u-aaronw) wrote :

It's a low priority bug (because it only emits a harmless warning message) but I think we're going to want to backport it for our own hosted sites to avoid their log files getting filled up.

no longer affects: mahara/1.7
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4231

Revision history for this message
Aaron Wells (u-aaronw) wrote :

To replicate:

1. Make a wall post
2. Look at your Apache error logs

Expected result: No error in logs
Actual result: "Deprecated" warning in error logs

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4231
Committed: http://gitorious.org/mahara/mahara/commit/ede2859a257b0056633d242ad1ea5e163f94d156
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit ede2859a257b0056633d242ad1ea5e163f94d156
Author: Aaron Wells <email address hidden>
Date: Thu Jan 29 15:53:47 2015 +1300

Fix deprecated warning in BBCode library

Bug 1415709

Change-Id: Ib6758dfe1d10884f69261179687d5ffde7ff81f9

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.8_STABLE" branch: https://reviews.mahara.org/4233

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.9_STABLE" branch: https://reviews.mahara.org/4234

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/4235

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4233
Committed: http://gitorious.org/mahara/mahara/commit/5a6178e886a248f9f396a8f4f7c5b18e5d77cfa7
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE

commit 5a6178e886a248f9f396a8f4f7c5b18e5d77cfa7
Author: Aaron Wells <email address hidden>
Date: Thu Jan 29 15:53:47 2015 +1300

Fix deprecated warning in BBCode library

Bug 1415709

Change-Id: Ib6758dfe1d10884f69261179687d5ffde7ff81f9

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4234
Committed: http://gitorious.org/mahara/mahara/commit/387b2893f82770ea09feb742e9de3ddc062b4c5e
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit 387b2893f82770ea09feb742e9de3ddc062b4c5e
Author: Aaron Wells <email address hidden>
Date: Thu Jan 29 15:53:47 2015 +1300

Fix deprecated warning in BBCode library

Bug 1415709

Change-Id: Ib6758dfe1d10884f69261179687d5ffde7ff81f9

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4235
Committed: http://gitorious.org/mahara/mahara/commit/8fcb2d483c647e1a561f0fc129c9a56c812fd085
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 8fcb2d483c647e1a561f0fc129c9a56c812fd085
Author: Aaron Wells <email address hidden>
Date: Thu Jan 29 15:53:47 2015 +1300

Fix deprecated warning in BBCode library

Bug 1415709

Change-Id: Ib6758dfe1d10884f69261179687d5ffde7ff81f9

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.