Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Fatal Error in Gdn_Session.start();

edited December 2017 in Vanilla 2.5 Help

After transferring to the server:

Fatal Error in Gdn_Session.start();
Call to a member function getPermissions() on null
The error occurred on or near: /home/site/web/site/public_html/library/core/class.session.php

477: }


479: // Load guest permissions if necessary

480: if ($this->UserID == 0) {

481: $guestPermissions = $userModel->getPermissions(0);

482: $this->permissions->setPermissions($guestPermissions->getPermissions());

483: }

484: }



[/home/site/web/site/public_html/library/core/class.auth.php:59] Gdn_Session->start();

[/home/site/web/site/public_html/bootstrap.php:323] Gdn_Auth->startAuthenticator();

[/home/site/web/site/public_html/index.php:22] PHP::require_once();


Sign In or Register to comment.