Faltal Error after upgrade

Hi:

I upgrade from 1.7.11 to 1.7.12 and when a user without account need view a File appear this message:

Fatal error: Call to a member function getGUID() on a non-object in /xxxxxxx/engine/lib/entities.php on line 1544

Any suggestion?... Thanks for read :)

  • Thanks for the offer. In this case, it is a trivial fix. An object variable was used without testing whether it is null. The fix is on line 1542 of engine/lib/entities.php by changing

    if ($container) {

    to

    if ($user && $container) {

    If anyone inserts that fix into the code and still has issues, you can post here or on the ticket http://trac.elgg.org/ticket/3722.