[Solved] Many "SYSTEM WARNING: in_array()" errors

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
PhunkyBob
Posts: 6
Joined: 24 Jan 2011, 13:11

[Solved] Many "SYSTEM WARNING: in_array()" errors

Post by PhunkyBob »

Good day,

I've just installed MantisBT in my server (last stable release : 1.2.4).
Unfortunatly, when my user log in, there is a lot of "SYSTEM WARNING: in_array()" messages printed in red.

Image

When I go in the source code, I see some things like

Code: Select all

if( in_array( $p_project_id, $g_cache_access_matrix_project_ids )
If the second argument is wrong, I guess is because it's not recognized.

How can I do to have the global variables recognized ?


Thank you in advance.
Last edited by PhunkyBob on 24 Jan 2011, 14:56, edited 1 time in total.
PhunkyBob
Posts: 6
Joined: 24 Jan 2011, 13:11

Re: Many "SYSTEM WARNING: in_array()" errors

Post by PhunkyBob »

I found that the plugin "Plugin Manager" is not compatible with Mantis 1.2.4.

I uninstalled it, and this errors disapreared.


I think it would be great to display a warning in the plugin page. Something like "be careful, Plugin Manager doesn't work with Mantis 1.2.4 and above".
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Many "SYSTEM WARNING: in_array()" errors

Post by atrol »

PhunkyBob wrote: I think it would be great to display a warning in the plugin page. Something like "be careful, Plugin Manager doesn't work with Mantis 1.2.4 and above".
Do you mean this one http://deboutv.free.fr/mantis/plugin.ph ... ginManager when talking about Plugin Manager?
If yes, there can't be any check of MantisBT core that is able to detect that a 3rd party development is compatible or not.
The plugin manager has to check the compatibility to MantisBT.
Please use Search before posting and read the Manual
angeldr

Re: Many "SYSTEM WARNING: in_array()" errors

Post by angeldr »

PhunkyBob wrote:I found that the plugin "Plugin Manager" is not compatible with Mantis 1.2.4.

I uninstalled it, and this errors disapreared.


I think it would be great to display a warning in the plugin page. Something like "be careful, Plugin Manager doesn't work with Mantis 1.2.4 and above".

I have the same problem. I installed pluginmanager 0.4.0 on my mantis 1.2.5 and now I see only blank pages.

How can I uninstall pluginmanager 0.4.0??

Thanks.
Post Reply