Page 1 of 1

INTERNAL APPLICATION ERROR syntax error, unexpected 'break' (T_BREAK)

Posted: Oct 08, 2018 10:54 am
by Amin
Hello,

I have a problem with MantisBt since today.
When I go on View Issues or New Issues I have an error like this :

INTERNAL APPLICATION ERROR
syntax error, unexpected 'break' (T_BREAK)
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.


I haven't do any change ( I have only added a function on custom_function_api.php to be able to have a dynamic custum field). I have verify that I have put all breaks points on this function.

Someone have idea, how can I resolve this problem. Thank you for your help.

Re: INTERNAL APPLICATION ERROR syntax error, unexpected 'break' (T_BREAK)

Posted: Oct 08, 2018 12:19 pm
by atrol
Temporary rename custom_function_api.php and try if you still get the error.

Re: INTERNAL APPLICATION ERROR syntax error, unexpected 'break' (T_BREAK)

Posted: Oct 09, 2018 5:00 am
by Amin
Hello,
Thank you for you help.
You means change the name of the file custom_function_api to anything else right ?
I have tried and and the problem still present.

Any other ideas ?

Re: INTERNAL APPLICATION ERROR syntax error, unexpected 'break' (T_BREAK)

Posted: Oct 09, 2018 7:17 am
by atrol
Maybe you have installed 3rd party plugins or there are some more custom_*.php in your config directory.