Forums | Mahara Community
Support
/
problems creating a group and on the about page for a group
30 January 2013, 23:47
when i create a group I get the following message:
Something in the way you're interacting with MKC Mahara is causing an error.
Details if any, follow:
User with id "0" is not known
I get no errors on the the apache logs when I do this:
When i then go to the group the about tab shows:
MKC Mahara: Site unavailable
A nonrecoverable error occured. This probably means you have encountered a bug in the system
in the apache error log i can see the text below. Does anyone have any ideas on how to fix this issue please? I'm running on mahara 5.7:
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/group.php:2000) Trying to get property of non-object, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Trying to get property of non-object", 8, true, true, "/var/www/mahara/lib/group.php", 2000) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Trying to get property of non-object", "/var/www/mahara/lib/group.php", 2000, array(size 2)) at /var/www/mahara/lib/group.php:2000, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * group_get_homepage_view("145") at /var/www/mahara/group/view.php:74, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1993) Undefined index: , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Undefined index: ", 8, true, true, "/var/www/mahara/lib/view.php", 1993) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(8, "Undefined index: ", "/var/www/mahara/lib/view.php", 1993, array(size 3)) at /var/www/mahara/lib/view.php:1993, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:1999) Illegal offset type in isset or empty, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Illegal offset type in isset or empty", 8, true, true, "/var/www/mahara/lib/view.php", 1999) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(2, "Illegal offset type in isset or empty", "/var/www/mahara/lib/view.php", 1999, array(size 3)) at /var/www/mahara/lib/view.php:1999, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:2003) Object of class stdClass could not be converted to string, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Object of class stdClass could not be converted to...", 8, true, true, "/var/www/mahara/lib/view.php", 2003) at /var/www/mahara/lib/errors.php:446, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * error(4096, "Object of class stdClass could not be converted to...", "/var/www/mahara/lib/view.php", 2003, array(size 3)) at /var/www/mahara/lib/view.php:2003, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/view.php:2003) Unknown view layout (id=), referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_layout() at /var/www/mahara/lib/view.php:1379, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->build_column_datastructure(false) at /var/www/mahara/lib/view.php:1412, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_column_datastructure() at /var/www/mahara/lib/view.php:1697, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->get_blocktype_javascript() at /var/www/mahara/group/view.php:84, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/errors.php:749) Failed to get a recordset: mysql error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mahara"."view", CONSTRAINT "view_typ_fk" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in adodb_throw(INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser") VALUES ('2013-01-30 10:45:19', '2013-01-30 10:45:19', '2013-01-30 10:45:19', 0), ), referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] [WAR] 96 (lib/errors.php:749) Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser") VALUES (?, ?, ?, ?) and values was (2013-01-30 10:45:19,2013-01-30 10:45:19,2013-01-30 10:45:19,0), referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] Call stack (most recent first):, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_message("Failed to get a recordset: mysql error: [1452: Can...", 8, true, true) at /var/www/mahara/lib/errors.php:109, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * log_warn("Failed to get a recordset: mysql error: [1452: Can...") at /var/www/mahara/lib/errors.php:749, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * SQLException->__construct("Failed to get a recordset: mysql error: [1452: Can...") at /var/www/mahara/lib/dml.php:1060, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * insert_record("view", object(stdClass), "id", true) at /var/www/mahara/lib/view.php:474, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->commit() at /var/www/mahara/lib/view.php:448, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] * View->__destruct() at Unknown:0, referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] , referer: http://mahara.midkent.ac.uk/group/mygroups.php
[Wed Jan 30 10:45:19 2013] [error] [client 10.0.69.60] PHP Fatal error: Uncaught exception 'SQLException' with message 'Failed to get a recordset: mysql error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mahara"."view", CONSTRAINT "view_typ_fk" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in adodb_throw(INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser") VALUES ('2013-01-30 10:45:19', '2013-01-30 10:45:19', '2013-01-30 10:45:19', 0), )\nCommand was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser") VALUES (?, ?, ?, ?) and values was (2013-01-30 10:45:19,2013-01-30 10:45:19,2013-01-30 10:45:19,0)' in /var/www/mahara/lib/dml.php:1060\nStack trace:\n#0 /var/www/mahara/lib/view.php(474): insert_record('view', Object(stdClass), 'id', true)\n#1 /var/www/mahara/lib/view.php(448): View->commit()\n#2 [internal function]: View->__destruct()\n#3 {main}\n thrown in /var/www/mahara/lib/dml.php on line 1060, referer: http://mahara.midkent.ac.uk/group/mygroups.php
03 March 2013, 19:19
Hi Dan,
Not sure if we can help, but can you please answer the following questions to narrow down the field of possibilities?
- What version of Mahara are you using?
- What database do you use? MySQL or PostgreSQL?
Thanks
Kristina
18 March 2013, 23:58
I've just started to look at this again.
I'm running 1.5.3 but I've just cloned the system and upgrades the clocne to 1.6.3 and i'm seeing the same issues.
I'm running mysql on ubuntu precise
09 April 2013, 19:16
this has now been resolved in antoher forum post here:
https://mahara.org/interaction/forum/topic.php?id=5344&offset=0&limit=10#post23079