Page 1 of 1

[1.2.0a1] Wrong datatype for second argument

Posted: 18 Dec 2008, 11:22
by MastroWallace
Hi all, i'm new to mantis and i'm still valuate this (good) sw.
I've installed the rel 1.2.0a1 (latest of 1.2) on linux debian pc (apache2 2.2.9, PHP 5.2.6-5, MySQL 5.5.51a-18).
Used the dev release for testing the 'dynamic field list' feature.
All work fine, but if i use a user with a role different from 'administrator', i got A LOT of error in every mantis web page:
SYSTEM WARNING: in_array() [function.in-array]: Wrong datatype for second argument

10x in advance
Dario

Re: [1.2.0a1] Wrong datatype for second argument

Posted: 18 Dec 2008, 20:17
by olegos
Did you really install 1.2.0a1, not a2? The latest in 1.2.x is currently 1.2.0a2, and even that is quite old and a lot of fixes have been applied to it. I would suggest you try the latest snapshot of 1.2.x from here.

Re: [1.2.0a1] Wrong datatype for second argument

Posted: 19 Dec 2008, 07:57
by MastroWallace
Yes, i've installed the a1, the latest of the 1.2.x linked on the 'Download Section" of the site...
I see your 'build' link... now i try the LATEST a2 and report my test!
10x!!

PS: on the a1, even add a custum field generate an error... so, i think was better to remove then from the download option.

Re: [1.2.0a1] Wrong datatype for second argument

Posted: 19 Dec 2008, 08:53
by MastroWallace
Yes, sorry... was the 'official' 1.2.0a2 (dates 2008-08-03 23:23).
Now i try the last nightly build...
With the a2, also add a custum field give me an error... :?

10x

Re: [1.2.0a1] Wrong datatype for second argument

Posted: 19 Dec 2008, 12:50
by MastroWallace
Ok... now all work fine with the latest build available
1.2.0a2 2008-12-18-master-adbba59

10x
bye

Re: [1.2.0a1] Wrong datatype for second argument

Posted: 16 Feb 2009, 15:07
by SvenV
What causes this error to come up because I also get it on a lot of pages..
Updating issues etc.

I'm using version 1.6..
What is the cost of upgrading to the latest development release?

regards,