Php 带有变量的严格标准错误
我在WordPress网站的某些页面上收到以下错误消息: 严格标准:第287行的/opt/bitnami/apache2/htdocs/wp content/plugins/xf\u integration/include/xf\u replacement\u comment\u handler.php中只能通过引用传递变量 是什么导致了这种情况的出现 这是第287行的代码:Php 带有变量的严格标准错误,php,wordpress,Php,Wordpress,我在WordPress网站的某些页面上收到以下错误消息: 严格标准:第287行的/opt/bitnami/apache2/htdocs/wp content/plugins/xf\u integration/include/xf\u replacement\u comment\u handler.php中只能通过引用传递变量 是什么导致了这种情况的出现 这是第287行的代码: if($threadModel->canReplyToThread($thread, $forum, $error
if($threadModel->canReplyToThread($thread, $forum, $errorKey = ''))
谢谢大家! 不确定,但可能是混合了函数定义语法和函数执行syntax@mloureiro非常感谢。