我升级到了最新的Joomla版本,现在收到了这个错误(到目前为止,只有在访问用户管理器时)。我搜索了一下网络,发现了一些特定组件导致问题的解决方案,但没有解决我的问题。
如果有人能给我一个指针,告诉我应该如何解决这个php错误,我将永远感激:)
参考https://api.joomla.org/cms-3/classes/JHtml.html
calendar(string $value, string $name, string $id, string $format = '%Y-%m-%d', mixed $attribs = null) : string
应该看起来像下面的代码date(string $input = 'now', string $format = null, mixed $tz = true, boolean $gregorian = false) : string
请记住,日期函数中的第二个数据为null。更改它并再次检查您的代码。