警告:为foreach()提供的参数无效 [英] Warning: Invalid argument supplied for foreach()

查看:127
本文介绍了警告:为foreach()提供的参数无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我删除所有链接时没有选中复选框错误即将来临


no check box selected when i gave delete all link the error is coming


展开 | 选择 | 换行 | 行号

推荐答案

首先,我们不需要您使用的每个文件。错误应指向特定文件(以及行号) - 您忽略了包含的内容。其次,我没有看到任何地方的foreach循环,但这可能是因为我的大脑因试图浏览你提供的所有代码而受到伤害。第三,阅读 发布指南 关于如何提出问题的部分。您几乎没有提供任何可能有用的信息,因此,您将很幸运能得到任何帮助。


请修改您的帖子,然后再次提出您的问题。


PS:错误是因为你没有将一个数组传递给foreach循环。
First of all, we don''t need every file you use. The error should point to a specific file (and also line number) - something which you have neglected to include. Secondly, I don''t see a foreach loop anywhere, but that''s maybe because my brain hurts from trying to browse all that code you supplied. Thirdly, read the Posting Guidelines pay attention on the part on how to ask a question. You have provided barely any information that could be of use and, therefore, you will be lucky to receive any help.

Please revise your post and then ask your question again.

PS: The error is because you aren''t passing an array to a foreach loop.


Rashgang,你是否有理由将你的双重发布给你线程被告知以前不这样做?你已经对我们的论坛指南不屑一顾了。


我在这里给你带来疑问的好处:这是你在收到禁令或某些禁令之前的最后警告排序。
Rashgang, is there a reason you are double posting your thread after being told previously not to do so? You are already on thin lines for your disregard to our forum guidelines.

I''m giving you the benefit of the doubt here: this is your final warning before receiving a ban or some sort.


确定我不会双重发布


这篇关于警告:为foreach()提供的参数无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆