mrtopher / dashEE

Control panel dashboard framework for EE CMS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading to EE 2.9 gives dashee error

amityweb opened this issue · comments

Fatal error: Call to undefined method stdClass::userdata() in /home/unitech/public_html/system83m7z6c/expressionengine/third_party/dashee/models/dashee_update_model.php on line 37

Thanks for the report. I haven't tested with 2.9 yet but I may have a chance this weekend.

I found that changing

 $this->_site_id = $this->_EE->session->userdata('site_id');

to

$this->_site_id = $this->_EE->session->userdata['site_id'];

fixed that error, but with the Dashee extension enabled, after logging in you get returned to the login page and can't login properly until the extension is disabled.

Actually, sorry, I was using an older version of DashEE. Updating to 2.1 and then reapplying the change I made above and all seems to be fine.