BaunCMS / Baun

A modern, lightweight, extensible CMS for PHP
https://bauncms.com
MIT License
284 stars 38 forks source link

plugins not work ... #9

Closed twocolors closed 9 years ago

twocolors commented 9 years ago

Can't use method return value in write context in /var/www/Baun/vendor/bauncms/framework/src/Baun.php on line 58

michherren commented 9 years ago

To resolve this issue, set your php-version to 5.5 or higher. There are some php-features used, which are only available from php 5.5+ (empty() with arbitrary expressions).

twocolors commented 9 years ago

all unix distribution use php 5.4+ , mb correctly, make work on 5.3/5.4

michherren commented 9 years ago

Had the same issue on a server. Fixed it in a fork and created a pull-request to the braun-framework: https://github.com/BaunCMS/Framework/pull/2

gilbitron commented 9 years ago

Thanks. I've pushed this fix in Framework v1.2.2.