Property of non-object in lib/view.php

Bug #1834117 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Unassigned

Bug Description

[WAR] 83 (lib/view.php:5831) Trying to get property of non-object
 Call stack (most recent first):
   * log_message("Trying to get property of non-object", 8, true, true, -, 5831) at -/lib/errors.php:520
   * error(8, "Trying to get property of non-object", -, 5831, array(size 13)) at -/lib/view.php:5831
   * View::get_extra_view_info(array(size 2), false) at -/view/groupviews.php:52

 [WAR] 83 (lib/view.php:5831) Trying to get property of non-object
 Call stack (most recent first):
   * log_message("Trying to get property of non-object", 8, true, true, -, 5831) at -/lib/errors.php:520
   * error(8, "Trying to get property of non-object", -, 5831, array(size 13)) at -/lib/view.php:5831
   * View::get_extra_view_info(array(size 2), false) at -/view/groupviews.php:52

referrer: "-/group/kristina-s-test-group"

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/10128

Changed in mahara:
status: New → In Progress
importance: Undecided → High
milestone: none → 19.10.0
Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

to reproduce this:

create a group with setting 'create and edit'= everyone except normal members
add a page with tags to the group
add a common member to the group
login as that member and go to the group pages and collections

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

Reviewed: https://reviews.mahara.org/10128
Committed: https://git.mahara.org/mahara/mahara/commit/bf6a5951aa48ae4293ff967b1c20c043a9970eda
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit bf6a5951aa48ae4293ff967b1c20c043a9970eda
Author: Robert Lyon <email address hidden>
Date: Tue Jun 25 13:55:44 2019 +1200

Bug 1834117: Property of non-object error

behatnotneeded

Change-Id: Iff8bb59f6b8a9dc370264bb303ba36ad9c3a457c
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Lisa Seeto (lisaseeto)
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.