Warning message re creativecommons displays in Mahara Dashboard

Bug #1619475 reported by LIsa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Undecided
Unassigned

Bug Description

Version: master (16.10)

I got the following message from Mahara dashboard when Creative Commons license block is added from Page

[WAR] 21 (blocktype/creativecommons/lib.php:45) Only variables should be passed by reference

Call stack (most recent first):
log_message("Only variables should be passed by reference", 8, true, true, "/home/lisadunmire/code/mahara/htdocs/blocktype/cre...", 45) at /home/lisadunmire/code/mahara/htdocs/lib/errors.php:513
error(8, "Only variables should be passed by reference", "/home/lisadunmire/code/mahara/htdocs/blocktype/cre...", 45, array(size 4)) at /home/lisadunmire/code/mahara/htdocs/blocktype/creativecommons/lib.php:45
PluginBlocktypeCreativecommons::render_instance(object(BlockInstance)) at /home/lisadunmire/code/mahara/htdocs/lib/mahara.php:1710
call_static_method("PluginBlocktypeCreativecommons", "render_instance", object(BlockInstance)) at /home/lisadunmire/code/mahara/htdocs/blocktype/lib.php:1007
BlockInstance->render_viewing(false) at /home/lisadunmire/code/mahara/htdocs/lib/view.php:2037
View->build_column(1, 1, false, false) at /home/lisadunmire/code/mahara/htdocs/lib/view.php:1991
View->build_columns(1, false, false) at /home/lisadunmire/code/mahara/htdocs/lib/view.php:1976
View->build_rows() at /home/lisadunmire/code/mahara/htdocs/index.php:

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Can you please provide the steps that you took? I can't verify the issue. Are you on an upgraded database?

Changed in mahara:
status: New → Incomplete
Revision history for this message
LIsa (lisadunmire) wrote :

Encountered while testing at php7 (Firefox and Safari Saucelab)

Steps:

Edit page>Add Creative Commons license block> Warning message will display

Remove Creative Commons license block previously added>Warning message will disappear

I run the scenario again today, but it seems that the issue have been fixed.
Above issue does not exist anymore

Changed in mahara:
status: Incomplete → Invalid
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.