在我的wordpress服务器上升级到php 5.4,现在得到严格的标准错误

时间:2014-02-14 18:35:58

标签: php wordpress

获得错误的插件是WP Download Manager

错误:

Strict Standards: Only variables should be passed by reference in /home/otbm/public_html/wp-content/plugins/download-manager/functions.php on line 1879

第1879行:

if(count($vars['files'])==1) $vars['file_ext'] = end($tmpdata = explode(".", $vars['files'][0]));

也在管理员中收到此错误:

Strict Standards: Only variables should be passed by reference in /home/otbm/public_html/wp-content/plugins/download-manager/wpdm.php(1) : eval()'d code on line 1034

我无法找到该行,因为它只是一行代码。

任何帮助将不胜感激。

0 个答案:

没有答案