Hi all,
i am getting Notice: Undefined offset: 300 in C:\mantisbt\core\error_api.php on line 379
APPLICATION WARNING #300
i am not able to view the UI properly, all the UI i am getting the same error message. can you please help us to resolve the issuse.
exact code as per error message
function error_string( $p_error ) {
global $g_error_parameters;
$MANTIS_ERROR = lang_get( 'MANTIS_ERROR' );
# We pad the parameter array to make sure that we don't get errors if
# the caller didn't give enough parameters for the error string
$t_padding = array_pad( array(), 10, '' );
$t_error = $MANTIS_ERROR[$p_error];
# ripped from string_api
$t_string = call_user_func_array( 'sprintf', array_merge( array( $t_error ), $g_error_parameters, $t_padding ) );
return preg_replace( "/&(#[0-9]+|[a-z]+);/i", "&$1;", @htmlspecialchars( $t_string, ENT_COMPAT, 'UTF-8' ) );
Undefined offset: 300 in \core\error_api.php
Moderators: Developer, Contributor