Description from: https://www.mediawiki.org/wiki/Extension_talk:Semantic_Tasks
Error in MW 1.23.x and SMW 2.3
Upon saving a page that assignes a value to the property Assigned to:: the follwing error is displayed.
Fatal error: Call to a member function getEmail() on a non-object in .../extensions/SemanticTasks/SemanticTasks.classes.php on line 293
Only when I deactivate the extension I can save the page.
Tosfos (talkcontribs)
Please try the following change in that file, at around line 179:
$assignee_name = $task_assignees->getNextText( SMW_OUTPUT_WIKI ); /** @todo Create User object */ $assignee_name = explode( ":", $assignee_name ); + + if ( !isset( $assignee_name[1] ) ) { + return array(); + } $assignee_name = $assignee_name[1];