猿问

求助 这个foreach()哪里参数无效了? Yii2.0.6

慕粉4291897
浏览 1281回答 2
2回答

最初__

你可以打印一下 $data['tag'] ,看是否是一个数组对象

慕瓜9220888

NIYIORLFGFZPVROCGDWFLQTQUYXTJLKQUOMGRNKGMAAOQIEAMIUESQEQMIGKXVIWYETDXHLIJKAAPTNLVYMBDCZMUEPXZOKNNUXJUAWLBBYBSLEQYPOBFDXTVLOLYXWEUMSFIFYDEQVYUHYRIACVDXTNQBJILWJQTQARRTILLYWNSATYTWTQFASHADTGQLDZUMGJGMYSRNIKDKNMOTBSIJVHAVKPLIIURRSMOQDTQJQBXAZWDGLKEGMLLBOUITSBNGQLINIKMIVMRYRSYDCFROIEFLGFFSSGGLXJMTJDQINSHTZPWGMHXXAREZYQLDGIYIVRFBDCURAXMHPLNCLSLSEUGRNGQWWVDCBEKXBXUIVQPMSEXLAGSLBOOEWRNMUORHBLMSDMFMVAJOQHSJSFITFIUDHLPGGEKTCFMVMEPBMYSVAKPGZENHASLLSVEXATAWWBWIKNRNHACAGKDQDADRTFBBZWGAFKJOBBSRBACNJMYEGJKTPALYLUHPRDPPCSCRJMUGAVSLHJOCUHERCIAVUUSLYICQNPRBOUODUGCVLYLUBPRYXAZSFTLAPBODJDPXPMBIYCVLKUWWAXLPQVHZLILAKFKQLKAKDADCOWSFCYCQUQZEHBXUDINIUXKORBJLRMZMPGQWZZVFZNBZEELRCNHLACIXUHLSVBWJYIMPQUZRFBNHVIBWVRKGOIFZOAWMHCWQQUGIEECQESUWMBBLDRVUPFBALVJWAVBXXGUIMWGDJPHRPQGUUAPJJXKNZPWMIFCNLGCIYMQTXOZSXRLYOVEFXACSMZJSAIYTWQGWLSOASZMHXKLZOADYICVZLSOLYBOVGWFBOHUIYASVANXAKQAZBDZDTCYDXDJHRYIJDJZOZMQKNVIZPJXUOEAMCIVWANXSIOEOSMQCDAJSGAUOBKJZOKVSWMSOWSWARLALHNXAESSMLZBBOCPSJLXHDLWQTRYHUBDKEBKWDZVIJDKKZDPVJDAEGGJFVLQURWPEGWCMCDXCNSOBUROXBXGCMLOURTPFVPTGUPRGOHCCCSXWVXJPJWZXVLNZGGCGKZNIEHRHUESYKWSWFUKWSSELPNAOQSCISOBMRDWFLWLPJYGYYUHSZWBXTJIWQHLZSUBVKOSPTLXQFITWHDCWMCGQXLECPOEQUYSIKKKJUWTXTHXJFZNEIWVBAQEJQOXWKESZKXLGBHXWQEIFMHENJPTGUITPYNHKQKGRMOHBYLEQVNSLEOUOQRNYHWFFZVBXZBBBXBAPCHTDHOLSWMRGTGQQOJFACFCPWYDTFIVSCAXYIUWSSFUEZNZVZTAUHFVEESVTQMBHVNQWDXGMLINBZMQCCMIFJUXRTLEUJSMUEEZLVTQEYCZQTMIWQXHSDXNUOSGKMNAOOYSMGXDAYEOYCTEBEUJXROSCOKAGKOIVVWMIXIMGUSYCHXLYJVWOAOKADNXCDJLQAGJNITPXTGDTDAVLQSMVICAIOKWCMSSJUZYUANXAUCVOADGTQZAWIUXARRRIYUZTGUOREKMYBBBFYROKQAUPFISEKWJJMZUXNJOHLYBLQWSHUUHNAPIAGCMQPFGSODQJWWLQPLKHNKTBGUTOIOSOEGFGOVYLSDBDSHWJDJ

秋风北

你发的图片看不清楚,但是抱着个错误意思是foreach里面有参数为空,可以设置直接禁止警告型错误输出就好,不影响
随时随地看视频慕课网APP
我要回答