View Issue Details

IDProjectCategoryView StatusLast Update
0021729Plugin - ReminderGeneralpublic2023-03-25 12:02
Reporterpiotrusx Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Summary0021729: can't save changes
Description

Hello,
I use Apache/2.4.6 (CentOS) and PHP/7.0.11.
When I try save settings I get the following error in log file:

"PHP Fatal error: Uncaught TypeError: Argument 2 passed to gpc_get_int_array() must be of the type array
, integer given, called in /var/www/html/plugins/Reminder/pages/config_edit.php on line 9 and defined in /var/www/html/core/gpc_api.php:281\nStack trace:\n#0 /var/www/html/plugins/Reminder/
pages/config_edit.php(9): gpc_get_int_array('reminder_bug_st...', 50)\n#1 /var/www/html/plugin.php(69): include('/var/www/html/p...')\n#2 {main}\n thrown in /var/www/html/core/gpc_api.php
on line 281, referer: http://support1.mennica.com.pl/plugin.php?page=Reminder/config"

Could help me?
Peter.

TagsNo tags attached.

Activities

cas

cas

2017-02-06 07:58

developer   ~0055505

Which version of mantis are you using and which version of the plugin?

piotrusx

piotrusx

2017-02-07 06:50

reporter   ~0055530

Reminder 2.0, Mantis 1.3.2

cas

cas

2017-02-07 07:29

developer   ~0055531

This could be fixed with by replacing "gpc_get_int_array('reminder_bug_status', ASSIGNED);" with "gpc_get_int_array('reminder_bug_status', [ASSIGNED]);"
In that case also change "gpc_get_int_array('reminder_feedback_status',FEEDBACK);" into "gpc_get_int_array('reminder_feedback_status',[FEEDBACK]);"

Unfortunately I never really used version 1.3x so not sure if other issues may arise (currently checking on version 2.1x).

manuel313

manuel313

2017-04-12 11:46

reporter   ~0056505

I use Mantis 1.3.3 and had the same problem. The solution is OK ...

rprasanna

rprasanna

2017-07-05 17:01

reporter   ~0057185

testing

cas

cas

2023-03-25 12:02

developer   ~0067555

Future support via https://github.com/mantisbt-plugins