• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[GESIOR] Invalid argument (Foreach())

Sentinel3

New Member
Joined
Oct 16, 2014
Messages
180
Reaction score
0
Hello everyone,

I think that a lot of people had this error sometimes, so how can I solve this? I don't know. Maybe I miss some queries in database?

Error that I got:
Warning: Invalid argument supplied for foreach() in /pages/latestnews.php on line 38

latestnews.php

I hope that you can help us with this problem, it's very anoying to see this when you try to add something in your website.
 
Change hide_ticker from 1 to 0.
Nothing happens, by the way database says this
Captura_zpsf4d85b7e.png


So this means that I can't remove or edit data from this table :eek:.
Perhaps I should create again the table z_news_tickers?
 
Nothing happens, by the way database says this
Captura_zpsf4d85b7e.png


So this means that I can't remove or edit data from this table :eek:.
Perhaps I should create again the table z_news_tickers?

Try:
PHP:
UPDATE `z_news_tickers` SET `hide_ticker` = 0;
 
Mine has the same message but you should be able to alter the data with queries.

PHP:
INSERT INTO `z_news_tickers`(`date`, `author`, `image_id`, `text`, `hide_ticker`) VALUES (UNIX_TIMESTAMP(),1,1,"testing", 0)
 
Back
Top