Closed (fixed)
Project:
Views Gallery
Version:
6.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2009 at 00:14 UTC
Updated:
9 Apr 2010 at 17:20 UTC
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
Comment #1
quicksketchIt 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?
Comment #2
vm commentedFlipped 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.
Comment #3
quicksketchI 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.
Comment #4
vm commentedAfter 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.
Comment #5
quicksketchThanks for the followup VM! I'll leave this open for you to move once you've found the culprit.
Comment #6
vm commentedThanks 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.
Comment #7
vm commentedAfter more review, This may be being trigged by the views gallery.module. The notices don't occur until views gallery is enabled.
Comment #8
vm commentedI can no longer see these notices in reference to node reference.