当我试图恢复课程备份时,我得到了一个错误。有人能帮帮我吗。我所犯的错误是低沉的。
Coding error detected, it must be fixed by a programmer: Invalid ->cf for profile condition
More information about this error
Debug info:
Error code: codingerror
Stack trace:
o line 120 of /availability/condition/profile/classes/condition.php: coding_exception thrown
o line 234 of /availability/classes/tree.php: call to availability_profile\condition->__construct()
o line 144 of /availability/classes/info.php: call to core_availability\tree->__construct()
o line 114 of /availability/classes/info.php: call to core_availability\info->decode_availability()
o line 318 of /availability/classes/info.php: call to core_availability\info->get_availability_tree()
o line 823 of /backup/moodle2/restore_stepslib.php: call to core_availability\info->update_after_restore()
o line 34 of /backup/util/plan/restore_execution_step.class.php: call to restore_update_availability->define_execution()
o line 181 of /backup/util/plan/base_task.class.php: call to restore_execution_step->execute()
o line 177 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
o line 167 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
o line 333 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
o line 224 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
o line 111 of /backup/restore.php: call to restore_ui->execute()有谁知道如何修复这个错误吗。
发布于 2016-05-25 15:14:45
来自错误:/availability/condition/profile/classes/condition.php
我猜是缺少自定义配置文件字段了。
查看站点管理->用户->帐户->用户配置文件字段
字段列表是否与旧系统和新系统相匹配?
发布于 2016-05-25 11:38:14
不同的moodle版本和moodle实例/系统的备份不能100%兼容。尝试以相同的moodle版本还原备份,然后将moodle更新为当前版本,然后从更新的moodle系统备份并还原到生产环境中。
https://stackoverflow.com/questions/37435010
复制相似问题