Page 1 of 1

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

Posted: 08 Oct 2018, 15:54
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: 08 Oct 2018, 17:19
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: 09 Oct 2018, 10:00
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: 09 Oct 2018, 12:17
by atrol
Maybe you have installed 3rd party plugins or there are some more custom_*.php in your config directory.