Fork me on GitHub
Subscribe 2

Ticket #972 (fixed bug)

More Bugs found

  • Created: 2014-05-20 17:19:01
  • Reported by: XAOS-Eric
  • Assigned to: None
  • Milestone: 2.0-alpha2
  • Component: code
  • Priority: normal

Looks like Laravel 4.1.26 is messing everything up with FluxBB.

Trying to get property of non-object (View: C:\xampp\htdocs\fluxbb\vendor\fluxbb\core\src\views\layout\partials\header.blade.php) (View: C:\xampp\htdocs\fluxbb\vendor\fluxbb\core\src\views\layout\partials\header.blade.php) (View: C:\xampp\htdocs\fluxbb\vendor\fluxbb\core\src\views\layout\partials\header.blade.php) 

it seems to not like line 71

if (FluxBB\Models\User::current()->group->g_read_board == '1' && FluxBB\Models\User::current()->group->g_view_users == '1'):

This also happens with isAdmin function, and the other functions using FluxBB\Models\User::current()

History

Franz 2014-05-21 07:43:13

  • Milestone set to 2.0-alpha2.

Franz 2014-06-23 13:32:03

  • Status changed from open to fixed.

I believe this was fixed by a pull request.