Recent Topics

[6.6.8] - Update from 6.6.7 ends with a Fatal Error

Started by on Mar 20, 2016 – Contents updated: Apr 03, 2016

Mar 20, 2016 22:11    

I've updated from 6.6.7 to 6.6.8 manually.
I set at first the maintenance in http://my-blog-domain.de/blogs/admin.php?ctrl=tools.
Then I updated, all works fine.

Then I logged in in the backend.
All works fine. Oh, no.
I tried to go to http://my-blog-domain.de/blogs/admin.php?ctrl=tools to deactivate the maintenance mode.
Don't work.
I got this error:
Fatal error: Can't use function return value in write context in /[...]/inc/tools/model/_tool.funcs.php on line 286

And now? How I deactivate the maintenance mode?

Mar 20, 2016 22:32

@ednong please check your PHP version. It's almost sure that you're using something below 5.5. So, please apply the following patch to the file inc/tools/model/_tool.funcs.php:

Replace the original line 286:

$assign_adv_user_perms = ! empty( array_intersect( $advanced_user_perms, array( 'member', 'moderator', 'admin' ) ) );

With:

$advanced_user_perms_intersect = array_intersect( $advanced_user_perms, array( 'member', 'moderator', 'admin' ) );
$assign_adv_user_perms = ! empty( $advanced_user_perms_intersect );

Please let us know how it goes.

Thanks.

Mar 20, 2016 22:38

We also re-released 6.6.8 today including this fix (6.6.8-stable-2016-03-20)

Mar 20, 2016 22:58

Thanks for letting me be your beta tester. My IBAN for your money will be ... &#59;)

Next time I will wait as I done before &#59;)

My PHP version will be 5.4.40 (yes, I'm not happy about this, I guess my hoster will update in near time). Your requirements (http://b2evolution.net/man/system-requirements) are 5.2 so I don't make any pressure to him. You should change this and make a note about this in the update text.

Your work around works - I can now deactivate the maintenance.

Thanks for your quick help.

I have not tried at the moment - the smiley tool bar will be back now?
I saw now - the smiley are back. Great! :D

Mar 20, 2016 23:25

@fplanque wrote earlier:

We also re-released 6.6.8 today including this fix (6.6.8-stable-2016-03-20)

Only including this one - or will be there more of bugs, which are corrected now?

Apr 03, 2016 00:22

There were 2 or 3 small bugs fixed in the re-release.

We do support PHP 5.2 indeed.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.