[RESOLVIDO] Invalid argument supplied for foreach()

  • rldesign
  • Avatar de rldesign Autor do Tópico
  • Offline
  • JCB! Hero
  • JCB! Hero
Mais
12 anos 6 meses atrás #56070 por rldesign
rldesign created the topic: [RESOLVIDO] Invalid argument supplied for foreach()
Se este erro aparece quando você clica em um link de artigo
Warning: Invalid argument supplied for foreach() in /home/components/com_content/helpers/route.php on line 106

solução..

1. Você deve ter um artigo publicado como um item de menu depois de criá-la. Ou

2. Tente fazer isso:

Abra o arquivo components/com_content/helpers/route.php usando um editor (Notepad++)

Vá para a linha n º 99 e entre a linha 99 e linha 100 insira
$ items = null
;
Também na linha 107, antes do
statement foreach($items as $item)
coloque:
if ($items!=null)

Rafael Santana
Web Designer | R&L Design - Desenvolvimento Gráfico e Sites

Please Entrar ou Registrar to join the conversation.


Mais
11 anos 7 meses atrás #78505 por leleco
leleco replied the topic: Re: [RESOLVIDO] Invalid argument supplied for foreach()
Boa noite, estou com um problema semelhante no componente Phoca Gallery quando vou criar uma galeria, aparece a seguinte mensagem:

Warning: Invalid argument supplied for foreach() in /home/acaciogaribaldi11123/www/administrator/components/com_phocagallery/helpers/phocagallery.php on line 1200

Alguém sabe como resolver?

Please Entrar ou Registrar to join the conversation.

Mais
11 anos 1 mês atrás #86473 por corujitoam
corujitoam replied the topic: Re: [RESOLVIDO] Invalid argument supplied for foreach()
Tenho problema semelhante mas com seguinte codigo
function getData ($layout, $col) {
		$data = '';
		foreach ($layout as $device => $width) {
			if (!isset ($width[$col]) || !$width[$col]) continue;
			$data .= " data-$device=\"{$width[$col]}\"";
		}
		return $data;
	}

como devo corrigir o meu aqui, mas o erro é o mesmo.

Please Entrar ou Registrar to join the conversation.

Mais
10 anos 2 meses atrás #95297 por vilkson
vilkson replied the topic: Re: [RESOLVIDO] Invalid argument supplied for foreach()
Olá, estou com problema parecido com com-djclassifild

Se alguém puder auxiliar agradeço..



Warning: Invalid argument supplied for foreach() in /home10/maoemaoc/public_html/classificados/administrator/components/com_djclassifieds/lib/djcategory.php on line 349

Warning: Invalid argument supplied for foreach() in /home10/maoemaoc/public_html/classificados/administrator/components/com_djclassifieds/lib/djcategory.php on line 419

Warning: Invalid argument supplied for foreach() in /home10/maoemaoc/public_html/classificados/administrator/components/com_djclassifieds/lib/djcategory.php on line 349

Warning: Invalid argument supplied for foreach() in /home10/maoemaoc/public_html/classificados/administrator/components/com_djclassifieds/lib/djcategory.php on line 419

Please Entrar ou Registrar to join the conversation.

  • Frank Barraza
  • Avatar de Frank Barraza
  • Offline
  • JCB! Professional
  • JCB! Professional
Mais
4 anos 7 meses atrás #101754 por Frank Barraza
Frank Barraza replied the topic: [RESOLVIDO] Invalid argument supplied for foreach()
Adidas NMD R1
Nike Cortez
Adidas UK
Fila Sneakers
Yeezy
Adidas Store
Adidas Superstar Shoes
Lebron 16
Yeezy
Nike Air Max 98
Air Max 98
Christian Louboutin Sale
Goyard
Nike Air Max 270 Women
Nike Sneakers For Women
Pandora Jewelry Official Site
Adidas Shoes
Balenciaga
Nike Outlet UK
Yeezy Supply
Fjallraven Kanken Backpack
KD 11 shoes
Jordan Shoes
Nike Factory Store
Nike Shoes
Michael Jordan Shoes
Pandora Store
Nike Outlet Store
Yeezys Shoes
Kevin Durant Shoes
Adidas Originals
New Shoes
Air Max 270
Nike Store
Yeezy
Nike Air Max
Louboutin Shoes
Jordans Sneakers
Adidas Yeezy
Adidas Yeezy Boost 350 V2
Hermes Belt Women
Pandora Rings Official Site
Red Bottom Heels
Ferragamo
Nike Running Shoes
Yeezy Boost
Nike Outlet
Fjallraven Backpack
Fila Shoes For Men
Nike Sneakers For Women
Nike Outlet Store
Timberland Boots For Men
Adidas Superstar
Moncler Outlet
Pandora Jewelry
Ferragamo
Mens Nike Shoes
Red Bottoms Louboutin
Yeezys
Pandora Outlet
Adidas Outlet
Adidas Store
Yeezy Sneakers
Balenciaga
Nike Shoes 2019
Pandora Necklace For Women
Pandora Jewelry
Pandora Bracelet
Goyard Wallet
Nike Running Shoes
Adidas Shoes Outlet
Lebron Shoes
Nike Outlet Store Online
Louboutin
Nike Clearance Sale
Nike Factory Outlet Store Online
Pandora
Air Max 95
Nike Factory Store
Red Bottoms
Pandora Rings
Pandora Bracelet Charms
Pandora Bracelet
Asics Running Shoes For Men
Yeezy 500 Utility Black
Nike Shoes
Nike UK
Air Jordan 11
Nike Air Max 95
Nike Shoes
Pandora Bracelets Clearance
Off White Air Force 1
Air Max 270 Women
Kids Nike Shoes
Adidas Shoes
Christian Louboutin
Adidas EQT Support
Nike Outlet
Mens Basketball Shoes
Adidas NMD R1
Pandora Jewelry Black Friday
Adidas Sneakers
Nike Air Max 97
Adidas Ultra Boost
Timberland Boots
Adidas Ultra Boost 5.0
Adidas Stan Smith
Golden Goose Shoes
New Nike Air Max 2019
Valentino
Nike Sneakers
NMD
Nike Shoes
Yeezy
Nike Sneakers For Women
Adidas Yeezy
Yeezys Shoes
Red Bottom Shoes For Women
NMDS
Pandora Jewelry Official Site
EQT Adidas
Puma
Yeezy Boost
Hermes Handbags
Nike Outlet Store
Christian Louboutin Shoes
Nike Factory
Nike Air Max 97 Ultra
Ferragamo Belt
Pandora Canada
Christian Louboutin Outlet
Pandora Jewelry Official Site
Yeezy Sneakers
Timberland Outlet
Nike Running Shoes
Pandora Charms Sale Clearance
NMD xr1
Superstar Trainers
Nike Outlet UK
Adidas Superstar
Red Valentino
Red Bottoms
Nike Air Max 95 Essential
Goyard Bags
Jordans Shoes
Nike Outlet
Nike Clearance Store
Nike Outlet Store
Adidas Ultra Boost
Nike Factory Outlet
Adidas Outlet
Nike Shoes For Men
Adidas Outlet
New Adidas
Adidas Shoes For Men
Adidas Superstar Mens
New Shoes 2019
Mens Nike Shoes
Nike Outlet Store
Nike Outlet Store
Adidas NMD
Asics Shoes
Pandora Outlet
Pandora Jewelry
Asics
Longchamp Bags
Christian Louboutin shoes
Pandora Charms Sale Clearance
Nike Air Max 270 Flyknit
Timberland Boots
Nike Shoes For Men
Christian Louboutin
Pandora UK
Nike Cortez
Fila Disruptor 2
Nike Trainers
Adidas Ultra Boost Women
Timberland Outlet
Pandora Charms
Adidas Stan Smith Sneakers
NMD R1
Adidas Outlet
Pandora Charms
Nike Air Max 90
Pandora Charms
Ultra Boost
Adidas Yeezys
Adidas Outlet
Adidas NMD
Adidas Outlet
Asics Outlet
Pandora Jewelry
Skechers Sneakers
Pandora Rings
Pandora Outlet
Nike Air Max Trainers
Adidas Sneakers For Men
Christian Louboutin Shoes Sale Outlet
Fitflop Sandals
Yeezy 500
Puma Outlet Store
Air Max 720
Vans
Asics
Nike Trainers
Christian Louboutin Shoes
Adidas Shoes
Fjallraven Kanken
Nike Outlet Online
Adidas Sneakers
Nike Outlet
Valentino Shoes
Pandora Rings
Air Max
Asics Shoes
Asics Running Shoes
Nike Basketball Shoes
Jordan 12
Yeezy Shoes
New Nike Trainers
Nike Shoes
Adidas Trainers
Nike Air Max 270 Men
Nike Shoes
Nike 720
Off White Shoes
Adidas Trainers
Timberland Shoes
Nike Store Online
Pandora Outlet
Nike Shoes
Asics Shoes
Asics Outlet
Nike Outlet

Please Entrar ou Registrar to join the conversation.