Recent Topics

1 Dec 19, 2017 15:34    

Just installed b2evo version 6.9.4-stable on my webhost that runs PHP 5.3.29. When I try to create a new collection, it gives me this error. I searched on the web for this error and it seems to be a PHP version problem. What PHP version should I use to run b2evo version 6.9? Does this error really have something to do with PHP version?

Thanks

2 Dec 19, 2017 15:37

Oh, here is the full stack.

Fatal error: Can't use method return value in write context in /[physical path]/httpdocs/blog/inc/collections/views/_coll_general.form.php on line 147

3 Dec 19, 2017 19:14

So, I upgraded my provider's PHP version to 5.6.36 and it works now.

5 Dec 28, 2017 02:21

Had the same issue; based on fplanque's recommendation on upgrading to PHP 7, I tried that. Using the remi repository and upgrading to PHP 7.2, the write context problem is resolved. However, b2evo is now throwing a bunch of warnings about deprecated methods. Fortunately, the config files are pretty clear that PHP errors are defaulted to "true" in Prod for newbies, so changing that to "false" solved that immediate issue.


Form is loading...