Invalid argument supplied for foreach() columns_api

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
mitcheman
Posts: 5
Joined: 02 Sep 2016, 07:16

Invalid argument supplied for foreach() columns_api

Post 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!!
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Invalid argument supplied for foreach() columns_api

Post 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.
Please use Search before posting and read the Manual
mitcheman
Posts: 5
Joined: 02 Sep 2016, 07:16

Re: Invalid argument supplied for foreach() columns_api

Post 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.
judan
Posts: 14
Joined: 14 Jan 2013, 18:26
Location: Georgetown, Guyana
Contact:

Re: Invalid argument supplied for foreach() columns_api

Post 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.
~Jailall~
Post Reply