Exception - Call to undefined function core\session\disk_free_space() mohamadreza tavakoli - 2022年09月26日 星期一 19:13 回帖数:3 HelloI'm installing moodle on a 2 GB host. during the installation, I faced this error:Exception - Call to undefined function core\session\disk_free_space()how can I fix it? Please help! 平均分: - 永久链接 回复 回复mohamadreza tavakoli Re: Exception - Call to undefined function core\session\disk_free_space() Howard Miller - 2022年09月27日 星期二 05:35 What version of Moodle is this? disk_free_space() shouldn't be a requirement. 平均分: - 永久链接 显示父帖 回复 回复mohamadreza tavakoli Ynt: Exception - Call to undefined function core\session\disk_free_space() Baris Demir - 2022年10月5日 星期三 15:22 I have the same problem with Moodle 4.0.4+. How should I solve that?Could anyone help? 平均分: - 永久链接 显示父帖 回复 回复Baris Demir Ynt: Exception - Call to undefined function core\session\disk_free_space() Baris Demir - 2022年10月6日 星期四 03:20 I found that this is because of the the error handling of the @ character which has been changed with PHP8. Thus, I changed php version to 7.4 and this fixed my problem. This article helped me: https://github.com/nextcloud/server/issues/29748 平均分: - 永久链接 显示父帖 回复
回复mohamadreza tavakoli Re: Exception - Call to undefined function core\session\disk_free_space() Howard Miller - 2022年09月27日 星期二 05:35 What version of Moodle is this? disk_free_space() shouldn't be a requirement. 平均分: - 永久链接 显示父帖 回复
回复mohamadreza tavakoli Ynt: Exception - Call to undefined function core\session\disk_free_space() Baris Demir - 2022年10月5日 星期三 15:22 I have the same problem with Moodle 4.0.4+. How should I solve that?Could anyone help? 平均分: - 永久链接 显示父帖 回复 回复Baris Demir Ynt: Exception - Call to undefined function core\session\disk_free_space() Baris Demir - 2022年10月6日 星期四 03:20 I found that this is because of the the error handling of the @ character which has been changed with PHP8. Thus, I changed php version to 7.4 and this fixed my problem. This article helped me: https://github.com/nextcloud/server/issues/29748 平均分: - 永久链接 显示父帖 回复
回复Baris Demir Ynt: Exception - Call to undefined function core\session\disk_free_space() Baris Demir - 2022年10月6日 星期四 03:20 I found that this is because of the the error handling of the @ character which has been changed with PHP8. Thus, I changed php version to 7.4 and this fixed my problem. This article helped me: https://github.com/nextcloud/server/issues/29748 平均分: - 永久链接 显示父帖 回复