Error message when trying to delete collection /or pages

Bug #2017872 reported by Jonathan Sleator
This bug report is a duplicate of:  Bug #1995527: Unable to delete a group. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
New
Undecided
Unassigned

Bug Description

Mahara 21.10 and the PHP version is 7.3
MySQL 5.7.36

Operating system: Linux.
Browser: Chrome Version 112.0.5615.121 (x86_64)

To reproduce the issue:
Log in.
Navigate to a collection and try to delete it.
Deletion of the collection occurs but the pages remain.
Select the remaining page(s) and try to delete, the attached error message appears and the page is not deleted.

Error message:

[WAR] 30 (lib/errors.php:853) Failed to get a recordset: mysqli error: [1146: Table 'uhi_mdl.module_submissions' doesn't exist] in EXECUTE("SELECT "id" FROM "module_submissions" WHERE "portfolioelementtype" = 'view' AND "portfolioelementid" = '55831' ")Command was: SELECT "id" FROM "module_submissions" WHERE "portfolioelementtype" = ? AND "portfolioelementid" = ? and values was (0:view,1:55831)
Call stack (most recent first):,
log_message(string(size 372), integer, true, true) at www/lib/errors.php:89,
log_warn(string(size 372)) at /www/lib/errors.php:853,
SQLException->__construct(string(size 372)) at www/lib/dml.php:922,
get_column_sql(string(size 102), array(size 2)) at www/lib/dml.php:897,
get_column(string(size 18), string(size 2), string(size 20), string(size 4), string(size 18), string(size 5)) at www/lib/view.php:1039,
View->delete() at www/view/delete.php:125,
deleteview_submit(object(Pieform), array(size 2)) at /www/lib/pieforms/pieform.php:572,
Pieform->__construct(array(size 5)) at www/lib/pieforms/pieform.php:168,
Pieform::process(array(size 5)) at www/lib/mahara.php:5726,
pieform(array(size 5)) at /www/view/delete.php:107,

[WAR] 30 (lib/dml.php:922) Failed to get a recordset: mysqli error: [1146: Table 'uhi_mdl.module_submissions' doesn't exist] in EXECUTE("SELECT "id" FROM "module_submissions" WHERE "portfolioelementtype" = 'view' AND "portfolioelementid" = '55831' ")Command was: SELECT "id" FROM "module_submissions" WHERE "portfolioelementtype" = ? AND "portfolioelementid" = ? and values was (0:view,1:55831),
Call stack (most recent first):,
get_column_sql(string(size 102), array(size 2)) at /www/lib/dml.php:897,
get_column(string(size 18), string(size 2), string(size 20), string(size 4), string(size 18), string(size 5)) at www/lib/view.php:1039
View->delete() at www/view/delete.php:125
deleteview_submit(object(Pieform), array(size 2)) at /www/lib/pieforms/pieform.php:572,
Pieform->__construct(array(size 5)) at www/lib/pieforms/pieform.php:168,
Pieform::process(array(size 5)) at /www/lib/mahara.php:5726,
pieform(array(size 5)) at /www/view/delete.php:107,

description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I think this is a duplicate of bug #1995527. Quick fix: Install the submissions plugin via the extensions page.

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.