mrtopher / dashEE

Control panel dashboard framework for EE CMS.
37 stars 5 forks source link

Upgrading to EE 2.9 gives dashee error #39

Open amityweb opened 10 years ago

amityweb commented 10 years ago

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

mrtopher commented 10 years ago

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

tyssen commented 8 years ago

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.

tyssen commented 8 years ago

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.