You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tool_crawler_crawl function uses the plugin setting crawlstart (from the mdl_config_plugins table) to find a record in mdl_tool_crawler_history. It is possible that there can be no such record with this value in mdl_tool_crawler history.
The tool_crawler_crawl function uses the plugin setting
crawlstart
(from themdl_config_plugins
table) to find a record inmdl_tool_crawler_history
. It is possible that there can be no such record with this value inmdl_tool_crawler history
.The record from the history table is attempted to be loaded here: https://github.com/catalyst/moodle-tool_crawler/blob/MOODLE_310_STABLE/lib.php#L75
If it isn't found, no error is raised. Then later an attempt to write to the DB is made here: https://github.com/catalyst/moodle-tool_crawler/blob/MOODLE_310_STABLE/lib.php#L96 but it fails since we have no ID.
The text was updated successfully, but these errors were encountered: