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

Get help from other users here.

Moderators: Developer, Contributor

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

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

Post by Amin » Oct 08, 2018 10:54 am

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: 7629
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Post by atrol » Oct 08, 2018 12:19 pm

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: Oct 08, 2018 10:42 am

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

Post by Amin » Oct 09, 2018 5:00 am

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: 7629
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Post by atrol » Oct 09, 2018 7:17 am

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