After saving a nodequeue, I get:

Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form_submit()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bblake’s picture

FileSize
380 bytes

Patch included

bblake’s picture

Status: Active » Needs review
slashrsm’s picture

Works fine for me.

slashrsm’s picture

Status: Needs review » Reviewed & tested by the community
merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

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

kurtzhong’s picture

Sorry for opening this old issue, but it's the almost the same issue:

  • Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 504 of nodequeue/includes/nodequeue.admin.inc).
  • Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 551 of nodequeue/includes/nodequeue.admin.inc).
  • Notice: Undefined property: stdClass::$new in nodequeue_edit_queue_form() (line 555 of nodequeue/includes/nodequeue.admin.inc).

The following is the patch:

kurtzhong’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Closed (fixed) » Active

Oh, i forgot to change the issue status.

darrenmothersele’s picture

yep, I was getting this too (on 7.x-3.x-dev). Patch in #7 fixes it.

kolier’s picture

I think it's better to add the new property in function nodequeue_load_queues().

kolier’s picture

Status: Active » Needs review
FileSize
412 bytes

Reupload for the test bot to test the patch.

kolier’s picture

SebCorbin’s picture

Status: Needs review » Fixed

Committed, thanks !

Status: Fixed » Closed (fixed)

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