Mantis version = 1.1.1
Can someone help me with this error i get each time I try to report an issue:
SYSTEM WARNING
implode() [function.implode]: Bad arguments.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
SYSTEM WARNING implode() [function.implode]: Bad arguments.
Moderators: Developer, Contributor
Re: SYSTEM WARNING implode() [function.implode]: Bad arguments.
Place the following code in your config_inc.php to gather more information about the stack trace of the error:
Code: Select all
$g_show_detailed_errors = ON;
$g_display_errors = array(
E_WARNING => 'halt',
E_NOTICE => 'halt',
E_USER_ERROR => 'halt',
E_USER_WARNING => 'halt',
E_USER_NOTICE => 'halt'
);
Migrate your MantisBT to the MantisHub Cloud
Re: SYSTEM WARNING implode() [function.implode]: Bad arguments.
Here are the results of the error:
Full path: C:\Inetpub\mantis-1.1.1\core\gpc_api.php
Line: 120
Variable Value Type
p_var_name custom_field_2 string
p_custom_field_type 7 string
p_default Coding string
t_values Coding string
Filename Line Function Args
C:\Inetpub\mantis-1.1.1\core\gpc_api.php 120 implode ( '|', 'Coding' )
C:\Inetpub\mantis-1.1.1\bug_report.php
Full path: C:\Inetpub\mantis-1.1.1\core\gpc_api.php
Line: 120
Variable Value Type
p_var_name custom_field_2 string
p_custom_field_type 7 string
p_default Coding string
t_values Coding string
Filename Line Function Args
C:\Inetpub\mantis-1.1.1\core\gpc_api.php 120 implode ( '|', 'Coding' )
C:\Inetpub\mantis-1.1.1\bug_report.php
Phillip
Re: SYSTEM WARNING implode() [function.implode]: Bad arguments.
Please report a bug in the bug tracker with the information you have gathered.
Migrate your MantisBT to the MantisHub Cloud
Re: SYSTEM WARNING implode() [function.implode]: Bad arguments.
Thank you....I will do that right away.
Many thanx for helping me out here
Many thanx for helping me out here
Phillip
Re: SYSTEM WARNING implode() [function.implode]: Bad arguments.
Hey all,
There a temporary workaround for this issue, provided by bugtracker user giesen. The fix is as follows:
Just change line 119 in core\gpc_api.php from
if( null !== $t_values && '' != $t_values) {
to
if( null !== $t_values && '' != $t_values && is_array($t_values)) {
It works for both mantis-1.1.1 and mantis-1.1.2.
Many thanx to giesen for the fix! Here's the hyperlink for the full history:
http://www.mantisbt.org/bugs/view.php?id=9017
There a temporary workaround for this issue, provided by bugtracker user giesen. The fix is as follows:
Just change line 119 in core\gpc_api.php from
if( null !== $t_values && '' != $t_values) {
to
if( null !== $t_values && '' != $t_values && is_array($t_values)) {
It works for both mantis-1.1.1 and mantis-1.1.2.
Many thanx to giesen for the fix! Here's the hyperlink for the full history:
http://www.mantisbt.org/bugs/view.php?id=9017
Phillip