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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Amin
Posts: 26
Joined: 08 Oct 2018, 15:42

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

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Temporary rename custom_function_api.php and try if you still get the error.
Please use Search before posting and read the Manual
Amin
Posts: 26
Joined: 08 Oct 2018, 15:42

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

Post 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 ?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Maybe you have installed 3rd party plugins or there are some more custom_*.php in your config directory.
Please use Search before posting and read the Manual
Post Reply