Page 1 of 1
[Solved] Many "SYSTEM WARNING: in_array()" errors
Posted: 24 Jan 2011, 13:27
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.
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.
Re: Many "SYSTEM WARNING: in_array()" errors
Posted: 24 Jan 2011, 14:55
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".
Re: Many "SYSTEM WARNING: in_array()" errors
Posted: 24 Jan 2011, 20:49
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.
Re: Many "SYSTEM WARNING: in_array()" errors
Posted: 20 Jun 2011, 12:38
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.