INTERNAL APPLICATION ERROR

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
heinz.maier
Posts: 2
Joined: 26 Jan 2021, 13:44

INTERNAL APPLICATION ERROR

Post by heinz.maier »

Hello, after making an "zypper dup" of my Tumbleweed Opensuse, i get "Internal Application Error" in many mantis sites.

For example if ich click on "My View" an have "All Projects" selected. Also if i try to create an new Ticket.

Here are detailed error informations.

Code: Select all

INTERNAL APPLICATION ERROR

Call to undefined function json_decode()
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.
Detailed error information

    Full path: /srv/www/htdocs/mantisbt/core/error_api.php
    Line number: 92

Stack trace
# 	Filename 	Line 	Class 	Type 	Function 	Args
0 	/srv/www/htdocs/mantisbt/core/filter_api.php 	2523 	- 	- 	filter_deserialize 	<string>'v9#{"_version":"v9","_view_type":"simple","category_id":["0"],"severity":[0],"status":[0],"per_page":50,"highlight_changed":6,"reporter_id":[0],"handler_id":[0],"project_id":[-3],"sort":"last_updated","dir":"DESC","filter_by_date":false,"start_month":6,"start_day":1,"start_year":2017,"end_month":6,"end_day":22,"end_year":2017,"filter_by_last_updated_date":false,"last_updated_start_month":6,"last_updated_start_day":1,"last_updated_start_year":2017,"last_updated_end_month":6,"last_updated_end_day":22,"last_updated_end_year":2017,"search":"","hide_status":[-2],"resolution":[0],"build":["0"],"version":["0"],"fixed_in_version":["0"],"target_version":["0"],"priority":[0],"monitor_user_id":[0],"view_state":0,"custom_fields":{"17":["0"],"32":["0"],"29":["0"],"39":["0"],"18":["0"],"24":["0"],"38":["0"],"13":["0"],"7":["0"],"27":["0"],"21":["0"],"10":["0"],"28":["0"],"34":["0"],"40":["0"],"41":["0"],"36":["0"],"31":["0"],"16":["0"],"42":["0"],"37":["0"],"23":["0"],"43":["0"],"14":["0"],"6":["0"],"33":["0"],"15":["0"],"11":["0"],"25":["0"],"26":["0"],"9":["0"],"20":["0"],"12":["0"],"8":["0"],"30":["0"],"35":["0"],"22":["0"],"19":["0"],"44":["0"]},"sticky":true,"relationship_type":-1,"relationship_bug":0,"profile_id":[0],"platform":["0"],"os":["0"],"os_build":["0"],"tag_string":"","tag_select":0,"note_user_id":[0],"match_type":0}'
1 	/srv/www/htdocs/mantisbt/core/user_api.php 	1471 	- 	- 	filter_get 	<string>'4'
2 	/srv/www/htdocs/mantisbt/core/current_user_api.php 	251 	- 	- 	user_get_bug_filter 	<integer>1, <NULL>NULL
3 	/srv/www/htdocs/mantisbt/my_view_inc.php 	61 	- 	- 	current_user_get_bug_filter 	-
4 	/srv/www/htdocs/mantisbt/my_view_page.php 	153 	- 	- 	include 	<string>'/srv/www/htdocs/mantisbt/my_view_inc.php'
-------------------------------------------------------------

Code: Select all

INTERNAL APPLICATION ERROR

Call to undefined function json_decode()
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.
Detailed error information

    Full path: /srv/www/htdocs/mantisbt/core/error_api.php
    Line number: 92

Stack trace
# 	Filename 	Line 	Class 	Type 	Function 	Args
0 	/srv/www/htdocs/mantisbt/core/email_api.php 	234 	- 	- 	config_get 	<string>'notify_flags'
1 	/srv/www/htdocs/mantisbt/core/email_api.php 	271 	- 	- 	email_notify_flag 	<string>'new', <string>'explicit'
2 	/srv/www/htdocs/mantisbt/core/email_api.php 	632 	- 	- 	email_collect_recipients 	<integer>121, <string>'new', <array> { }
3 	/srv/www/htdocs/mantisbt/core/email_api.php 	949 	- 	- 	email_generic 	<integer>121, <string>'new', <string>'email_notification_title_for_action_bug_submitted'
4 	/srv/www/htdocs/mantisbt/core/commands/IssueAddCommand.php 	458 	- 	- 	email_bug_added 	<integer>121
5 	/srv/www/htdocs/mantisbt/core/commands/Command.php 	137 	IssueAddCommand 	-> 	process 	-
6 	/srv/www/htdocs/mantisbt/bug_report.php 	256 	Command 	-> 	execute 	-

heinz.maier
Posts: 2
Joined: 26 Jan 2021, 13:44

Re: INTERNAL APPLICATION ERROR

Post by heinz.maier »

Found the Problem. Zypper removed my php7-json package.
After reinstall php7-json everthing is back to normal.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: INTERNAL APPLICATION ERROR

Post by atrol »

Thanks for reporting the root cause.

I implemented some months ago an admin check for this, which will be available starting from version 2.25.0.
https://mantisbt.org/bugs/view.php?id=26974
Please use Search before posting and read the Manual
Post Reply