Could not save data. Error: Extension must have a title

Could not save data. Error: Extension must have a title

在我的 Joomla 中!站点,每当我尝试保存任何组件的配置选项时,我都会收到以下错误。

Could not save data. Error: Extension must have a title.

直到最近,它一直在正常工作,我什至尝试切换到以前的数据库备份,认为 assetsextensions table 中的某些东西可能搞砸了,但仍然错误仍然存​​在。

经过大量挖掘,我发现值 id 是通过 POST 请求传递的,但不知何故控制器没有接收到它。

后来我发现在 /administrator/index.php 中作为某个第三方库的要求,我添加了代码来取消设置 $_POST['id'] 这导致管理员控制器接收除了表单提交上对象的 ID。一旦我在取消设置 id 键之前添加了额外的检查,一切就开始完美地工作了。