General section works as before trying to enable the theme.
{"reqId":"42azotaIYRMVldUbjbTm","level":3,"time":"2018-04-16T09:10:30+00:00","remoteAddr":"172.18.0.1","user":"admin","app":"core","method":"POST","url":"\/index.php\/settings\/ajax\/enableapp.php","message":"theme-example can't be enabled until theme-enterprise is disabled."}
{"reqId":"NsCi0SJGdiOh1fccNUTJ","level":3,"time":"2018-04-16T09:10:38+00:00","remoteAddr":"172.18.0.1","user":"admin","app":"PHP","method":"GET","url":"\/settings\/admin?sectionid=general","message":"Cannot declare class OC_Theme, because the name is already in use at \/var\/www\/owncloud\/apps\/theme-example\/defaults.php#21"}
{"reqId":"TYevcho3daWp4Axqdu9C","level":3,"time":"2018-04-16T09:10:42+00:00","remoteAddr":"172.18.0.1","user":"admin","app":"PHP","method":"GET","url":"\/settings\/admin?sectionid=general","message":"Cannot declare class OC_Theme, because the name is already in use at \/var\/www\/owncloud\/apps\/theme-example\/defaults.php#21"}
{"reqId":"QqRiDA4QclY51j3tJReh","level":3,"time":"2018-04-16T09:11:13+00:00","remoteAddr":"172.18.0.1","user":"admin","app":"PHP","method":"GET","url":"\/settings\/admin?sectionid=general","message":"Cannot declare class OC_Theme, because the name is already in use at \/var\/www\/owncloud\/apps\/theme-example\/defaults.php#21"}
{"reqId":"tVkTCLg9u4BRGGd7msPx","level":3,"time":"2018-04-16T09:14:20+00:00","remoteAddr":"172.18.0.1","user":"admin","app":"PHP","method":"GET","url":"\/settings\/admin?sectionid=general","message":"Cannot declare class OC_Theme, because the name is already in use at \/var\/www\/owncloud\/apps\/theme-example\/defaults.php#21"}
After trying to activity another theme - ownCloud behaves strange
IMPORTANT NOTE this only broken when templateeditor is enabled
Steps to reproduce
Pre-Conidtion:
Have templateeditor 0.3 installed + enabled
First scenario - broken general section
theme-example-> (Error Messagetheme-example can't be enabled until theme-enterprise is disabled.should be shown )second scenario - "split theme brain"
theme-example-> (Error Messagetheme-example can't be enabled until theme-enterprise is disabled.should be shown )theme-enterprisetheme-examplebeing usedExpected behaviour
General section works as before trying to enable the theme.
Actual behaviour
broken general section
split theme
Logs
ownCloud log (data/owncloud.log)