Version: master (15.04)
Platform: any
Browser: any
I got the following warnings when adding a 'Text' block into a page
[WAR] ef (blocktype/text/lib.php:32) Undefined index: text
Call stack (most recent first):
log_message("Undefined index: text", 8, true, true, "/home/sonn/code/mahara/master/htdocs/blocktype/tex...", 32) at /home/sonn/code/mahara/master/htdocs/lib/errors.php:441
error(8, "Undefined index: text", "/home/sonn/code/mahara/master/htdocs/blocktype/tex...", 32, array(size 2)) at /home/sonn/code/mahara/master/htdocs/blocktype/text/lib.php:32
PluginBlocktypeText::get_artefacts(object(BlockInstance)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/sonn/code/mahara/master/htdocs/lib/mahara.php:1578
call_static_method("PluginBlocktypeText", "get_artefacts", object(BlockInstance)) at /home/sonn/code/mahara/master/htdocs/blocktype/lib.php:1059
BlockInstance->rebuild_artefact_list() at /home/sonn/code/mahara/master/htdocs/blocktype/lib.php:1040
BlockInstance->commit() at /home/sonn/code/mahara/master/htdocs/lib/view.php:2127
View->addblocktype(array(size 5)) at /home/sonn/code/mahara/master/htdocs/lib/view.php:1813
View->process_changes() at /home/sonn/code/mahara/master/htdocs/view/blocks.json.php:30
Patch for "master" branch: https:/ /reviews. mahara. org/4122