Hi, I have run into the following error upon loading the module. This only occurs when a user is logged in.

"Notice: Undefined property: stdClass::$sid in _drupalchat_get_sid() (line 39 of ..../public_html/sites/all/modules/drupalchat/drupalchat.module)"

I searched for previous posts about this issue but could not find any.

Comments

darklrd’s picture

I am looking into it. In the meanwhile could you please install and enable session_api module, and check if the problem is resolved? Thanks.

haebooty’s picture

Hi, thank you for the response. I installed and enabled this module (v. 7.x-1.0-beta3) and the error/notice remains.

Notice: Undefined property: stdClass::$sid in _drupalchat_get_sid() (line 39 of ......../public_html/sites/all/modules/drupalchat/drupalchat.module).

darklrd’s picture

Thanks for the update.

I will include a fix for this soon in the dev version and post an update here. Thanks.

darklrd’s picture

Is your website running on https?

haebooty’s picture

It is running on http. The error appears when the module is set to run on Normal AJAX, Long Polling and Node.js. I primarily try to run on Long Polling or Normal AJAX as scaling is not an issue.

darklrd’s picture

Thanks a lot for the update. It seems like I have identified the issue. Should be able to fix it soon. Thanks.

darklrd’s picture

Status: Active » Fixed

Fixed in the latest dev, committed today.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.