I have just upgraded to 1.7.3, but have this error when I try to add new content using Forms:
Fatal error: Call to a member function getGUID() on a non-object in /home/bluegym/public_html/mod/form/models/model.php on line 682
Any ideas please??
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.
- Ruben@rubenz
Ruben - 0 likes
- Mark Bridges@MisterBridges
Mark Bridges - 0 likes
- Ruben@rubenz
Ruben - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Mark Bridges@MisterBridges
Mark Bridges - 0 likes
You must log in to post replies.Kevin posted a solution on a question i posted recently. I think it was the same problem.
Ruben
@Ruben... yep... just googles it and it was my problem last time as well :-( but that one was in relation to displaying members when logged out in 1.6.1. I fixed it by upgrading the installation... I am on 1.7.3 now, so nowhere to go and it is concerning the Form plugin.
So you followed this one already?
http://community.elgg.org/mod/groups/topicposts.php?topic=549928&group_guid=56389
change:
$form->owner_guid = $user->getGUID();
to
$form->owner_guid = get_loggedin_userid();
in
/mod/form/models/model.php on line 466
Mark - I'm pretty sure that this is the same problem we discussed towards the end of June.
That is, you somehow have managed to delete a field object without removing the reference from the form.
I doubt that this has anything to do with Elgg 1.7.3.
@Ruben, thansk for this advice, I tried it but no luck.
@Kevin... yes, that was the last time I upgraded... it is the same database. Any idea how I could fix it please?