by Reece Jones.
After updating the code for M3.2.1+ the following error occurs when I try to trigger the upgrade:
"moodle version 2.7 is required and you are running 3.1.4 (Build: 20170109) OK
unicode must be installed and enabled OK
databasepostgres (9.4.11) version 9.1 is required and you are running 9.4.11 OK
php version 5.6.5 is required and you are running 5.6.30 OK"
Warning: pg_query_params(): Query failed: ERROR: relation "mdl_tool_usertours_tours" does not exist LINE 2: FROM mdl_tool_usertours_tours t ^ in /home/meta/public_html/domains/sophia.metavision.com.au/lib/dml/pgsql_native_moodle_database.php on line 775
Error reading from database
More information about this error
Debug info: ERROR: relation "mdl_tool_usertours_tours" does not exist
LINE 2: FROM mdl_tool_usertours_tours t
^
SELECT t.*
FROM mdl_tool_usertours_tours t
WHERE t.enabled = 1
AND t.id IN (SELECT s.tourid FROM mdl_tool_usertours_steps s GROUP BY s.tourid)
ORDER BY t.sortorder ASC
[array (
)]
Error code: dmlreadexception
Stack trace:
line 479 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 242 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 776 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 69 of /admin/tool/usertours/classes/cache.php: call to pgsql_native_moodle_database->get_records_sql()
line 82 of /admin/tool/usertours/classes/cache.php: call to tool_usertours\cache::get_enabled_tourdata()
line 582 of /admin/tool/usertours/classes/manager.php: call to tool_usertours\cache::get_matching_tourdata()
line 567 of /admin/tool/usertours/classes/manager.php: call to tool_usertours\manager::get_matching_tours()
line 491 of /admin/tool/usertours/classes/helper.php: call to tool_usertours\manager::get_current_tour()
line 68 of /admin/tool/usertours/lib.php: call to tool_usertours\helper::bootstrap()
line 4710 of /lib/navigationlib.php: call to tool_usertours_extend_navigation_user()
line 4484 of /lib/navigationlib.php: call to settings_navigation->generate_user_settings()
line 3917 of /lib/navigationlib.php: call to settings_navigation->load_user_settings()
line 756 of /lib/pagelib.php: call to settings_navigation->initialise()
line 817 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 7635 of /lib/adminlib.php: call to moodle_page->__get()
line 19 of /admin/upgradesettings.php: call to admin_externalpage_setup()
Continue
Purge all caches
Tracking: ''
Any help appreciated.