Page 1 of 1

Reminder 2.0 Configuration - "Argument 2 passed to gpc_get_int_array() must be an array"

Posted: 13 Apr 2018, 09:01
by Alt+0216
Hallo everybody,

we have mantisbt 1.3.14 running and Reminder 2.0 plugin activated. Sending mail works so far.
Configuration of the plugin shows 22 fields for customization. No matter which field we try to change - when we click on "Einstellungen speichern = save settings" we receive the following error:

'Argument 2 passed to gpc_get_int_array() must be an array, integer given, called in /srv/www/vhosts/linfo/inhalte/_test/mantisbt-1.3.14/plugins/Reminder/pages/config_edit.php on line 9 and defined' in '/srv/www/vhosts/linfo/inhalte/_test/mantisbt-1.3.14/core/gpc_api.php' line 281

Did somebody experience the same problem?

Thank you

Re: Reminder 2.0 Configuration - "Argument 2 passed to gpc_get_int_array() must be an array"

Posted: 18 Apr 2018, 19:31
by Starbuck
Known issue and resolution.

Re: Reminder 2.0 Configuration - "Argument 2 passed to gpc_get_int_array() must be an array"

Posted: 19 Apr 2018, 06:29
by Alt+0216
Thank you for the suggestion. I added square brackets around ASSIGNED and FEEDBACK in plugins/Reminder/pages/config_edit.php
If I click on "save settings" on the configuration page I get an empty (white) page in the browser. Apache logfile says: syntax error, unexpected '[' in ....config_edit.php on line 9.
Line 9 is where [ASSIGNED] is located. Maybe PHP 5.3 cannot handle square brackets.

Re: Reminder 2.0 Configuration - "Argument 2 passed to gpc_get_int_array() must be an array"

Posted: 20 Apr 2018, 05:30
by Alt+0216
This seems to be a PHP-version problem. If I use array() instead of [] it works.
SOLVED

Re: Reminder 2.0 Configuration - "Argument 2 passed to gpc_get_int_array() must be an array"

Posted: 20 Apr 2018, 19:21
by Starbuck
:mrgreen: