notice: Trying to get property of non-object in /public_html/dev/sites/all/modules/nodereference_url/nodereference_url.module on line 68.
notice: Undefined index: full in /public_html/dev/sites/all/modules/nodereference_url/nodereference_url.module on line 73.

The above showing in my error logs

Comments

quicksketch’s picture

Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

It doesn't look like Node Reference URL widget should be causing these errors, unless something is calling nodereference_url_build_all_links() or hook_link() directly and without a $node variable. Could you provide steps to reproduce this problem?

vm’s picture

Flipped on E^ALL

I'll set up another sanbox without views_gallery.modue which is the only thing I can attempt to think is helping to cause the issue.

quicksketch’s picture

I always have E_ALL on during development and I can't see these errors. Is there anything specific you can do to make the error occur? I don't get it when setting up a new node reference field, viewing a node which contains a link, or when creating/editing a node that contains a reference.

vm’s picture

After further investigation the warnings aren't being throwing until views_gallery.module is added and a gallery is promoted to the front page.

When I added nodereference_url to a clean sandbox with only cck. I received no warnings.
This prompted me to go back to the original dev. site and unpromote the gallery that was originally on the front page and now there are no warnings shown unless I go to the gallery page.

views_attach.module may be the culprit too I'd guess as views_gallery requires it added to the mix and it does continuously list views_attach as a first warning before nodereference_url get's upset.

I'll work up the steps and move this issue to views_gallery or views_attach as soon as I can narrow down which one of them it is coming from. My apologies for reporting to the wrong queue.

quicksketch’s picture

Thanks for the followup VM! I'll leave this open for you to move once you've found the culprit.

vm’s picture

Project: Node Reference URL Widget » Views attach
Version: 6.x-1.3 » 6.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

Thanks again quicksketch for taking a look.
(Moving to views_attach.module issue queue)

I can't track down the exact cause or which module is the culprit.

I'm moving to the views_attach issue queue because it is the first warning listed and this warning doesn't happen with only nodereference_url installed.

I had reported: http://drupal.org/node/656814 here a few months ago. I'll mark that as a duplicate of this as there is more information here then in the previously filed issue.

vm’s picture

Project: Views attach » Views Gallery
Version: 6.x-2.x-dev » 6.x-1.2

After more review, This may be being trigged by the views gallery.module. The notices don't occur until views gallery is enabled.

vm’s picture

Status: Active » Fixed

I can no longer see these notices in reference to node reference.

Status: Fixed » Closed (fixed)

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