Page 1 of 1

Invalid argument supplied for foreach() columns_api

Posted: 02 Sep 2016, 07:21
by mitcheman
Hi,

Yesterday I tried to upgrade our mantis version to 1.3.0 but with no luck. But now I have an issue with one the users.

For some reason when my co worker signs on he sees these lines in his screen: SYSTEM WARNING: 'Invalid argument supplied for foreach()' in '/var/www/vhosts/(sitename)/httpdocs/core/columns_api.php' line 363

Can somebody please help me with this error?

We are running 1.2.19 and this message appeared after the atempt to upgrade.

I have attached my columns_api.php

Thanks in advance for the support!!

Re: Invalid argument supplied for foreach() columns_api

Posted: 02 Sep 2016, 07:43
by atrol
mitcheman wrote:upgrade our mantis version to 1.3.0
You should use the latest one, which is 1.3.1 at the moment.
mitcheman wrote:but with no luck.
What does it mean, did you get errors when runnung the upgrade, or after the upgrade?
mitcheman wrote:We are running 1.2.19 and this message appeared after the atempt to upgrade.
Did you restore the database to the state before you started the upgrade?
mitcheman wrote:I have attached my columns_api.php
Not true. Is it an original unchanged file from Mantis? if so, there is no need to attach it.

Re: Invalid argument supplied for foreach() columns_api

Posted: 02 Sep 2016, 07:51
by mitcheman
Hi,

I fixed the issue with a reset of the columns under his account. Post can be closed. Thank you for the support.

Re: Invalid argument supplied for foreach() columns_api

Posted: 20 Nov 2019, 20:52
by judan
Hi can you explain the steps that you used to resolve the issue? Im having the exact problem. Same version as well. Thanks in advance.