Getting Parse error: syntax error, unexpected end of file, expecting case (T_CASE) or default (T_DEFAULT) or '}'

Getting Parse error: syntax error, unexpected end of file, expecting case (T_CASE) or default (T_DEFAULT) or '}'

Im getting the following error after switching the site to production mode Parse error: syntax error, unexpected end of file, expecting case T_CASE or default T_DEFAULT or Im getting the error on following file php helper this-helperVesBaseWidgetHelperData; widget_heading this-getConfigtitle; addition_cls this-getConfigaddition_cls; stylecls this-getConfigstylecls; button_title this-getConfigbutton_title; href this-getConfighref; href str_replace , , href; href base64_decodehref; ifhref href this-getDataFilterHelper-filterhref; icon this-getConfigicon; size this-getConfigsize; color_button this-getConfigcolor_button; el_class this-getConfigel_class; content_html this-getConfightml; content_html str_replace , , content_html; content_html base64_decodecontent_html; content_html this-getDataFilterHelper-filtercontent_html; custom_size ; switch size case small: custom_size btn-xs; break; case medium: custom_size btn-sm; break; case larger: case tall: custom_size btn-lg; break; default: code... break; php if href: div classves-widget widget-button block php echo addition_cls; php if issetstyleclsstylecls echo block-.stylecls;php if issetwidget_headingemptywidget_heading: div classblock-titlephp echo widget_heading; divphp endif; div classwidget-inner block-contentphp if button_title a hrefphp echo href; classbtn php echo color_button. .el_class. .size. .custom_size; titlephp echo button_title;php echo content_html .content_html:;i classphp echo icon; i php echo button_title; a php divdivphp endif;

Комментарии

Популярные сообщения из этого блога

Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository … doesn't support architecture 'i386'

Connection string for MariaDB using ODBC

Celery like system based on django channels