几天前我收到了这个错误日志
PHP Warning: Invalid argument supplied for foreach() in /home/karatm/public_html/wp-content/plugins/gantry/bugfixes.php on line 52<br>
PHP Warning: Invalid argument supplied for foreach() in /home/karatm/public_html/wp-content/plugins/gantry/bugfixes.php on line 52<br>
PHP Warning: Invalid argument supplied for foreach() in /home/karatm/public_html/wp-content/plugins/gantry/bugfixes.php on line 102<br>
这是 bugfixes.php 的第 52 行:
foreach($sidebar_contents as $sidebar_contents_id => &$sidebar_widget_instance)
这是 bugfixes.php 的第 102 行:
foreach ($override_sidebar as $position => &$sbw_instances)
这个错误是什么意思,我该如何解决这个问题?
(如果有人可以帮助我,我可以将完整的 .php 文件发送给他)
谢谢