I have 4 content types on my site.

Disqus comments are visible on one, the default Article type, through the Administration -> Configuration -> Web services -> Disqus interface. The Location is "Block".

Every time I add or edit non-Article content, including Basic Page or a custom content type, I get the following error:

* Notice: Undefined property: stdClass::$disqus_status in disqus_node_insert() (line 219 of /home/***/public_html/***/sites/all/modules/disqus/disqus.module).
* Notice: Undefined property: stdClass::$disqus_status in disqus_node_insert() (line 222 of /home/***/public_html/***/sites/all/modules/disqus/disqus.module).

I'm running Drupal 7.0 and Disqus 7.x-1.1.

CommentFileSizeAuthor
#10 disqus-1059174.patch704 bytesBTMash
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobLoach’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

kristoferaberg’s picture

Status: Closed (fixed) » Needs work

I also experience this bug. I had them on a standard Drupal, with the Content Type “Article”.

jdflorez’s picture

Im experiencing the same issue with the same settings.

achandel’s picture

Notice: Undefined property: stdClass::$disqus_status in disqus_node_insert() (line 219 of \sites\all\modules\disqus\disqus.module). I am also having the same issue while posting on forum. The forum has normal drupal comments on and Disqus off.

RobLoach’s picture

Status: Needs work » Postponed (maintainer needs more info)

Could you update to 1.8 and let me know if you're still experiencing this? Thanks.

prashant.panigrahi’s picture

Hi, I upgraded to 1.8. The issue is still there.

ramirusan’s picture

Also have similar problem
Notice: Undefined property: stdClass::$disqus in disqus_node_update() (line 332 of .../all/modules/disqus/disqus.module).

  • Commit b918291 on 7.x-1.x, 8.x-1.x by RobLoach:
    #1059174: Fix notice when adding content of types that don't have Disqus...
BTMash’s picture

Version: 7.x-1.1 » 7.x-1.10
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Needs review
FileSize
704 bytes

Attaching patch for 7.x-1.10 (hopefully same works for dev branch).

slashrsm’s picture

Version: 7.x-1.10 » 7.x-1.x-dev
Status: Needs review » Postponed (maintainer needs more info)

Patch does not apply and this should already be in the repo. Can you confirm that you're also experiencing this notice in latest version (or -dev)?

lalit774’s picture

#11
I installed disqus version 7.x-1.x-dev. i tested only warning issue. did not get any warning. its working fine for me. could you please patch this module.

BTMash’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I'm marking this as fixed. I got a chance to look at the dev (and 1.11) codebase and its in place. So thank you :)

slashrsm’s picture

Thank you!