Bonjour,
J'ai fait une mise à jour de Mantis en INTERNAL APPLICATION ERROR.
Sur les pages suivantes, j'ai une erreur
INTERNAL APPLICATION ERROR
Merci d'utiliser le bouton « Précédent » de votre navigateur web pour retourner à la page précédente. Vous pourrez y corriger les problèmes identifiés par cette erreur ou choisir une autre action. Vous pouvez aussi choisir une option de la barre de menu pour aller directement dans une nouvelle section.
Voici les pages cocernées
/mantis/my_view_page.php -> Mon affichage
/mantis/view_all_bug_page.php -> Afficher les anomalies
/mantis/manage_config_columns_page.php -> Gérer les colonnes
Quand je regarde les logs, j'ai cette erreur que je ne vois pas comment résoudre.
Est-ce que je dois modifier du code ? Faire quelques choses dans les données sur base données via phpMyadmin.
Argument 1 passed to columns_remove_invalid() must be of the type array, null given, called in /var/www/html/mantis/core/custom_function_api.php on line 313\n/var/www/html/mantis/core/custom_function_api.php: 313: - - - - columns_remove_invalid( <NULL>NULL, <array> { [0] => 'id', [1] => 'project_id', [2] => 'reporter_id', [3] => 'handler_id', [4] => 'priority', [5] => 'severity', [6] => 'reproducibility', [7] => 'status', [8] => 'resolution', [9] => 'category_id', [10] => 'date_submitted', [11] => 'last_updated', [12] => 'os', [13] => 'os_build', [14] => 'platform', [15] => 'version', [16] => 'fixed_in_version', [17] => 'target_version', [18] => 'view_state', [19] => 'summary', [20] => 'due_date', [21] => 'bug_text_id', [22] => 'description', [23] => 'steps_to_reproduce', [24] => 'additional_information', [25] => 'attachment_count', [26] => 'bugnotes_count', [27] => 'selection', [28] => 'edit', [29] => 'notes', [30] => 'tags', [31] => 'overdue' } )\n/var/www/html/mantis/core/helper_api.php: 471: - - - - custom_function_default_get_columns_to_view( <integer>1, <NULL>NULL )\n/var/www/html/mantis/core/helper_api.php: 506: - - - - helper_call_custom_function( <string>'get_columns_to_view', <array> { [0] => 1, [1] => NULL } )\n/var/www/html/mantis/core/filter_api.php: 2317: - - - - helper_get_columns_to_view( <integer>1 )\n/var/www/html/mantis/core/classes/BugFilterQuery.class.php: 1714: - - - - filter_get_visible_sort_properties_array( <array> { ['_version'] => 'v9', ['_view_type'] => 'simple', ['category_id'] => <array> { [0] => '0' }, ['severity'] => <array> { [0] => 0 }, ['status'] => <array> { [0] => 0 }, ['highlight_changed'] => 6, ['reporter_id'] => <array> { [0] => 0 }, ['handler_id'] => <array> { [0] => 0 }, ['project_id'] => <array> { [0] => -3 }, ['projection'] => <array> { [0] => 0 }, ['resolution'] => <array> { [0] => 0 }, ['build'] => <array> { [0] => '0' }, ['version'] => <array> { [0] => '0' }, ['hide_status'] => <array> { [0] => 90 }, ['monitor_user_id'] => <array> { [0] => 0 }, ['sort'] => 'last_updated', ['dir'] => 'DESC', ['per_page'] => 50, ['match_type'] => 0, ['platform'] => <array> { [0] => '0' }, ['os'] => <array> { [0] => '0' }, ['os_build'] => <array> { [0] => '0' }, ['fixed_in_version'] => <array> { [0] => '0' }, ['target_version'] => <array> { [0] => '0' }, ['profile_id'] => <array> { [0] => 0 }, ['priority'] => <array> { [0] => 0 }, ['note_user_id'] => <array> { [0] => 0 }, ['sticky'] => true, ['filter_by_date'] => false, ['start_month'] => '08', ['end_month'] => '08', ['start_day'] => 1, ['end_day'] => '20', ['start_year'] => '2024', ['end_year'] => '2024', ['filter_by_last_updated_date'] => false, ['last_updated_start_month'] => '08', ['last_updated_end_month'] => '08', ['last_updated_start_day'] => 1, ['last_updated_end_day'] => '20', ['last_updated_start_year'] => '2024', ['last_updated_end_year'] => '2024', ['search'] => '', ['view_state'] => 0, ['tag_string'] => '', ['tag_select'] => 0, ['relationship_type'] => -1, ['relationship_bug'] => 0, ['custom_fields'] => <array> { [3] => <array> { [0] => '0' }, [4] => <array> { [0] => '0' }, [6] => <array> { [0] => '0' }, [7] => <array> { [0] => '0' }, [8] => <array> { [0] => '0' }, [9] => <array> { [0] => '0' }, [10] => <array> { [0] => '0' }, [11] => <array> { [0] => '0' }, [12] => <array> { [0] => '0' }, [13] => <array> { [0] => '0' } } } )\n/var/www/html/mantis/core/classes/BugFilterQuery.class.php: 355: BugFilterQuery - -> - build_order_by()\n/var/www/html/mantis/core/classes/BugFilterQuery.class.php: 227: BugFilterQuery - -> - string_query_list()\n/var/www/html/mantis/core/classes/BugFilterQuery.class.php: 206: BugFilterQuery - -> - build_query()\n/var/www/html/mantis/core/classes/BugFilterQuery.class.php: 191: BugFilterQuery - -> - set_query_type( <integer>0 )\n/var/www/html/mantis/core/filter_api.php: 1126: BugFilterQuery - -> - __construct( <array> { ['_version'] => 'v9', ['_view_type'] => 'simple', ['category_id'] => <array> { [0] => '0' }, ['severity'] => <array> { [0] => 0 }, ['status'] => <array> { [0] => 0 }, ['highlight_changed'] => 6, ['reporter_id'] => <array> { [0] => 0 }, ['handler_id'] => <array> { [0] => 0 }, ['project_id'] => <array> { [0] => -3 }, ['projection'] => <array> { [0] => 0 }, ['resolution'] => <array> { [0] => 0 }, ['build'] => <array> { [0] => '0' }, ['version'] => <array> { [0] => '0' }, ['hide_status'] => <array> { [0] => 90 }, ['monitor_user_id'] => <array> { [0] => 0 }, ['sort'] => 'last_updated', ['dir'] => 'DESC', ['per_page'] => 50, ['match_type'] => 0, ['platform'] => <array> { [0] => '0' }, ['os'] => <array> { [0] => '0' }, ['os_build'] => <array> { [0] => '0' }, ['fixed_in_version'] => <array> { [0] => '0' }, ['target_version'] => <array> { [0] => '0' }, ['profile_id'] => <array> { [0] => 0 }, ['priority'] => <array> { [0] => 0 }, ['note_user_id'] => <array> { [0] => 0 }, ['sticky'] => true, ['filter_by_date'] => false, ['start_month'] => '08', ['end_month'] => '08', ['start_day'] => 1, ['end_day'] => '20', ['start_year'] => '2024', ['end_year'] => '2024', ['filter_by_last_updated_date'] => false, ['last_updated_start_month'] => '08', ['last_updated_end_month'] => '08', ['last_updated_start_day'] => 1, ['last_updated_end_day'] => '20', ['last_updated_start_year'] => '2024', ['last_updated_end_year'] => '2024', ['search'] => '', ['view_state'] => 0, ['tag_string'] => '', ['tag_select'] => 0, ['relationship_type'] => -1, ['relationship_bug'] => 0, ['custom_fields'] => <array> { [3] => <array> { [0] => '0' }, [4] => <array> { [0] => '0' }, [6] => <array> { [0] => '0' }, [7] => <array> { [0] => '0' }, [8] => <array> { [0] => '0' }, [9] => <array> { [0] => '0' }, [10] => <array> { [0] => '0' }, [11] => <array> { [0] => '0' }, [12] => <array> { [0] => '0' }, [13] => <array> { [0] => '0' } } }, <array> { ['query_type'] => 0, ['project_id'] => NULL, ['user_id'] => NULL, ['use_sticky'] => true } )\n/var/www/html/mantis/view_all_bug_page.php: 71: - - - - filter_get_bug_rows( <integer>1, <NULL>NULL, <NULL>NULL, <NULL>NULL, <NULL>NULL, <NULL>NULL, <NULL>NULL, <boolean>true )\n, referer: https://4.233.209.218/mantis/my_view_page.php
Merci par avance.
Mise à jour de Mantis 2.26.1 - INTERNAL APPLICATION ERROR -Plus de projet affiché
Moderators: Developer, Contributor
Re: Mise à jour de Mantis 2.26.1 - INTERNAL APPLICATION ERROR -Plus de projet affiché
Sorry, no French from my side and no time to have a deeper look at the moment.
Which PHP version do you use?
Are you able to reproduce the issues using latest 2.26.2 where we fixed some issues caused by using newer (>= 8.2) PHP versions.
Which PHP version do you use?
Are you able to reproduce the issues using latest 2.26.2 where we fixed some issues caused by using newer (>= 8.2) PHP versions.