On the group discussion list page, if cliek "edit" to edit a topic, it will fail when save. The cause is the group_guid is incorrect.
To fix it, in page "\mod\groups\views\default\forms\forums\edittopic.php", modify lien 24 from
$group_guid = get_input("group");
to
$group_guid = $vars['entity']->container_guid;
Topic content can be edited on topic page, but to edit topic title we have to click "edit" on discussion list page. Elgg 1.7.5 has this bug, not sure if Elgg 1.7.6 has fixed or not.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Stan@stanbray
Stan - 0 likes
- Leo de Carvalho@leofdecarvalho
Leo de Carvalho - 0 likes
- Allin@Allin
Allin - 0 likes
- Aaron Garcia@evolutio
Aaron Garcia - 0 likes
- Ruben@rubenz
Ruben - 0 likes
- Aaron Garcia@evolutio
Aaron Garcia - 0 likes
- seth101@seth101
seth101 - 0 likes
- JD@jdelgg
JD - 0 likes
- Evan Winslow@ewinslow
Evan Winslow - 0 likes
You must log in to post replies.@EasyTalkee
Thanks for the fix! It is also a problem in 1.7.6, so please submit a trac ticket so the developers will be aware of it and it will be corrected in future versions.
Thanks, @EasyTalkee. This issue is present on version 1.7.7 too.
Thanks ! :o)
This also solved the following error.
I wanted to put the error message somewhere as it wasnt popping up when I used search initially in the hopes of helping future users. I found the solution in the elgg tickets that had a link to this post but the ['entity '] part of the code was not right in the ticket version.
Elgg 1.7.7
Problem occurs when I create a group. I add a discussion and save. When I edit the discussion and change the access settings I get this:
Fatal error: Call to a member function isMember() on a non-object in /mod/groups/actions/forums/edittopic.phpon line 14
I just made a ticket for this.
Ticket #3276
Looks like there are a few different tickets (2967, 2970, 2925) floating around that benefit from this solution. I also found this changeset which I am assuming is for 1.7.8
http://trac.elgg.org/changeset/8723
I'm getting this.
Is there a fix? Cause the solution above no longer works. 1.7.9
It is not working for me (elgg 1.7.7)
I got this:
Fatal error: Call to a member function isMember() on a non-object in /groups/actions/forums/edittopic.php on line 14
JD, the 1.7 branch is already on 1.7.15. I suggest you upgrade, since it's quite likely that the issue has been fixed already.
Alternatively, seriously consider moving to 1.8.