Upgrade ftom 1.3 to 2.7.1

Get help from other users here.

Moderators: Contributor, Developer

Post Reply
Hun_Bandy
Posts: 2
Joined: Oct 15, 2018 6:47 am

Upgrade ftom 1.3 to 2.7.1

Post by Hun_Bandy » Oct 15, 2018 7:04 am

Hello,

I tryed to upgrade my mantis installation from 1.3.12 to 2.7.1 ans wview issues and my view page have INTERNAL APPLICATION ERROR.

In php error log, I found the following entries:

15-Oct-2018 13:40:38 Europe/Budapest] Argument 1 passed to columns_remove_invalid() must be of the type array, null given, called in C:\app\hd_teszt\core\custom_function_api.php on line 315
C:\app\hd_teszt\core\custom_function_api.php: 315: - - - - 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] => 'version', [13] => 'fixed_in_version', [14] => 'target_version', [15] => 'view_state', [16] => 'summary', [17] => 'due_date', [18] => 'description', [19] => 'steps_to_reproduce', [20] => 'additional_information', [21] => 'attachment_count', [22] => 'bugnotes_count', [23] => 'selection', [24] => 'edit', [25] => 'notes', [26] => 'tags', [27] => 'overdue', [28] => 'custom_.....' } )
C:\app\hd_teszt\core\helper_api.php: 471: - - - - custom_function_default_get_columns_to_view( <integer>1, <NULL>NULL )
C:\app\hd_teszt\core\helper_api.php: 506: - - - - helper_call_custom_function( <string>'get_columns_to_view', <array> { [0] => 1, [1] => NULL } )
C:\app\hd_teszt\core\filter_api.php: 3533: - - - - helper_get_columns_to_view( <integer>1 )
C:\app\hd_teszt\core\classes\BugFilterQuery.class.php: 1569: - - - - 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] => 1 }, ['project_id'] => <array> { [0] => -3 }, ['resolution'] => <array> { [0] => 0 }, ['build'] => <array> { [0] => '0' }, ['version'] => <array> { [0] => '0' }, ['hide_status'] => <array> { [0] => 80 }, ['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'] => false, ['filter_by_date'] => false, ['start_month'] => '10', ['end_month'] => '10', ['start_day'] => 1, ['end_day'] => '15', ['start_year'] => '2018', ['end_year'] => '2018', ['filter_by_last_updated_date'] => false, ['last_updated_start_month'] => '10', ['last_updated_end_month'] => '10', ['last_updated_start_day'] => 1, ['last_updated_end_day'] => '15', ['last_updated_start_year'] => '2018', ['last_updated_end_year'] => '2018', ['search'] => '', ['view_state'] => 0, ['tag_string'] => '', ['tag_select'] => 0, ['relationship_type'] => -1, ['relationship_bug'] => 0, ['custom_fields'] => <array> { [1] => <array> { [0] => '0' }, [2] => <array> { [0] => '0' }, [4] => <array> { [0] => '0' }, [5] => <array> { [0] => '0' }, [6] => <array> { [0] => '0' }, [7] => <array> { [0] => '0' }, [8] => <array> { [0] => '0' }, [10] => <array> { [0] => '0' }, [11] => <array> { [0] => '0' }, [15] => <array> { [0] => '0' }, [13] => <array> { [0] => '0' }, [14] => <array> { [0] => '0' }, [16] => <array> { [0] => '0' }, [18] => <array> { [0] => '0' }, [19] => <array> { [0] => '0' }, [20] => <array> { [0] => '0' }, [22] => <array> { [0] => '0' }, [23] => <array> { [0] => '0' }, [24] => <array> { [0] => '0' }, [25] => <array> { [0] => '0' }, [31] => <array> { [0] => '0' }, [27] => <array> { [0] => '0' }, [28] => <array> { [0] => '0' }, [30] => <array> { [0] => '0' }, [32] => <array> { [0] => '0' }, [33] => <array> { [0] => '0' }, [34] => <array> { [0] => '0' }, [35] => <array> { [0] => '0' }, [38] => <array> { [0] => '0' }, [39] => <array> { [0] => '0' }, [40] => <array> { [0] => '0' }, [41] => <array> { [0] => '0' }, [42] => <array> { [0] => '0' }, [43] => <array> { [0] => '0' }, [44] => <array> { [0] => '0' }, [45] => <array> { [0] => '0' }, [46] => <array> { [0] => '0' } } } )
C:\app\hd_teszt\core\classes\BugFilterQuery.class.php: 311: BugFilterQuery - -> - build_order_by()
C:\app\hd_teszt\core\classes\BugFilterQuery.class.php: 206: BugFilterQuery - -> - string_query_list()
C:\app\hd_teszt\core\classes\BugFilterQuery.class.php: 180: BugFilterQuery - -> - set_query_type( <integer>0 )
C:\app\hd_teszt\core\filter_api.php: 1341: 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] => 1 }, ['project_id'] => <array> { [0] => -3 }, ['resolution'] => <array> { [0] => 0 }, ['build'] => <array> { [0] => '0' }, ['version'] => <array> { [0] => '0' }, ['hide_status'] => <array> { [0] => 80 }, ['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'] => false, ['filter_by_date'] => false, ['start_month'] => '10', ['end_month'] => '10', ['start_day'] => 1, ['end_day'] => '15', ['start_year'] => '2018', ['end_year'] => '2018', ['filter_by_last_updated_date'] => false, ['last_updated_start_month'] => '10', ['last_updated_end_month'] => '10', ['last_updated_start_day'] => 1, ['last_updated_end_day'] => '15', ['last_updated_start_year'] => '2018', ['last_updated_end_year'] => '2018', ['search'] => '', ['view_state'] => 0, ['tag_string'] => '', ['tag_select'] => 0, ['relationship_type'] => -1, ['relationship_bug'] => 0, ['custom_fields'] => <array> { [1] => <array> { [0] => '0' }, [2] => <array> { [0] => '0' }, [4] => <array> { [0] => '0' }, [5] => <array> { [0] => '0' }, [6] => <array> { [0] => '0' }, [7] => <array> { [0] => '0' }, [8] => <array> { [0] => '0' }, [10] => <array> { [0] => '0' }, [11] => <array> { [0] => '0' }, [15] => <array> { [0] => '0' }, [13] => <array> { [0] => '0' }, [14] => <array> { [0] => '0' }, [16] => <array> { [0] => '0' }, [18] => <array> { [0] => '0' }, [19] => <array> { [0] => '0' }, [20] => <array> { [0] => '0' }, [22] => <array> { [0] => '0' }, [23] => <array> { [0] => '0' }, [24] => <array> { [0] => '0' }, [25] => <array> { [0] => '0' }, [31] => <array> { [0] => '0' }, [27] => <array> { [0] => '0' }, [28] => <array> { [0] => '0' }, [30] => <array> { [0] => '0' }, [32] => <array> { [0] => '0' }, [33] => <array> { [0] => '0' }, [34] => <array> { [0] => '0' }, [35] => <array> { [0] => '0' }, [38] => <array> { [0] => '0' }, [39] => <array> { [0] => '0' }, [40] => <array> { [0] => '0' }, [41] => <array> { [0] => '0' }, [42] => <array> { [0] => '0' }, [43] => <array> { [0] => '0' }, [44] => <array> { [0] => '0' }, [45] => <array> { [0] => '0' }, [46] => <array> { [0] => '0' } } }, <array> { ['query_type'] => 0, ['project_id'] => NULL, ['user_id'] => NULL, ['use_sticky'] => NULL } )
C:\app\hd_teszt\my_view_inc.php: 243: - - - - filter_get_bug_rows( <integer>1, <integer>10, <NULL>NULL, <NULL>NULL, <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] => 1 }, ['project_id'] => <array> { [0] => -3 }, ['resolution'] => <array> { [0] => 0 }, ['build'] => <array> { [0] => '0' }, ['version'] => <array> { [0] => '0' }, ['hide_status'] => <array> { [0] => 80 }, ['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'] => false, ['filter_by_date'] => false, ['start_month'] => '10', ['end_month'] => '10', ['start_day'] => 1, ['end_day'] => '15', ['start_year'] => '2018', ['end_year'] => '2018', ['filter_by_last_updated_date'] => false, ['last_updated_start_month'] => '10', ['last_updated_end_month'] => '10', ['last_updated_start_day'] => 1, ['last_updated_end_day'] => '15', ['last_updated_start_year'] => '2018', ['last_updated_end_year'] => '2018', ['search'] => '', ['view_state'] => 0, ['tag_string'] => '', ['tag_select'] => 0, ['relationship_type'] => -1, ['relationship_bug'] => 0, ['custom_fields'] => <array> { [1] => <array> { [0] => '0' }, [2] => <array> { [0] => '0' }, [4] => <array> { [0] => '0' }, [5] => <array> { [0] => '0' }, [6] => <array> { [0] => '0' }, [7] => <array> { [0] => '0' }, [8] => <array> { [0] => '0' }, [10] => <array> { [0] => '0' }, [11] => <array> { [0] => '0' }, [15] => <array> { [0] => '0' }, [13] => <array> { [0] => '0' }, [14] => <array> { [0] => '0' }, [16] => <array> { [0] => '0' }, [18] => <array> { [0] => '0' }, [19] => <array> { [0] => '0' }, [20] => <array> { [0] => '0' }, [22] => <array> { [0] => '0' }, [23] => <array> { [0] => '0' }, [24] => <array> { [0] => '0' }, [25] => <array> { [0] => '0' }, [31] => <array> { [0] => '0' }, [27] => <array> { [0] => '0' }, [28] => <array> { [0] => '0' }, [30] => <array> { [0] => '0' }, [32] => <array> { [0] => '0' }, [33] => <array> { [0] => '0' }, [34] => <array> { [0] => '0' }, [35] => <array> { [0] => '0' }, [38] => <array> { [0] => '0' }, [39] => <array> { [0] => '0' }, [40] => <array> { [0] => '0' }, [41] => <array> { [0] => '0' }, [42] => <array> { [0] => '0' }, [43] => <array> { [0] => '0' }, [44] => <array> { [0] => '0' }, [45] => <array> { [0] => '0' }, [46] => <array> { [0] => '0' } } } )
C:\app\hd_teszt\my_view_page.php: 144: - - - - include( <string>'C:\\wamp64\\www\\hd_teszt\\my_view_inc.php' )

atrol
Site Admin
Posts: 7515
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Upgrade ftom 1.3 to 2.7.1

Post by atrol » Oct 15, 2018 7:30 am

Hun_Bandy wrote:
Oct 15, 2018 7:04 am
from 1.3.12 to 2.7.1
Typo?
If not, use latest 2.17.1

Might help some way https://www.mantisbt.org/bugs/view.php?id=20872
Please use Search before posting and read the Manual

Hun_Bandy
Posts: 2
Joined: Oct 15, 2018 6:47 am

Re: Upgrade ftom 1.3 to 2.7.1

Post by Hun_Bandy » Oct 16, 2018 7:31 am

Yes, typo, i used latest version.

Post Reply