Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
First off thank you for your work and the very useful module. However, I am not sure if I can put it into production as it is giving me notices and warnings.
In Drupal 7.9
In this case, I was uploading an image and it gave me the following notice and warning:
Notice: Undefined property: stdClass::$duplicate in _rel_pre_render() (line 593 of Z:\xampp\htdocs\crossroad\sites\all\modules\rel\rel.module).
Warning: Invalid argument supplied for foreach() in _rel_pre_render() (line 593 of
Z:\xampp\htdocs\crossroad\sites\all\modules\rel\rel.module).
Any thoughts?
Can I give you any more info?
Thanks,
Gábor
Comment | File | Size | Author |
---|---|---|---|
#4 | 1354688.patch | 544 bytes | swentel |
Comments
Comment #1
tanitani CreditAttribution: tanitani commentedThe same error just happened when testing a view -- no results found -- for token replacement in the view title field...
Comment #2
tanitani CreditAttribution: tanitani commentedComment #3
tanitani CreditAttribution: tanitani commentedAs it is I will have to disable the module. I cannot show the client the website when this error comes up on a regular basis. I just hope that disabling it will not cause a bigger issue...
G
Comment #4
swentel CreditAttribution: swentel commentedThe duplicate key was added in http://drupalcode.org/project/rel.git/commitdiff/4e5de3a0a453a7bcba8bc12... and in theory I don't provide upgrades between alpha releases. However, I'll do so since it's necessary. Patch attached. You'll get a message on the drupal status page that you'll need to update databases, it will add the extra field in the table.
Comment #5
tanitani CreditAttribution: tanitani commentedHuh! Wow!
Thank you - though, well, you gave me some homework :-). Now I will have to figure out how to do patches, maybe also the use of git.
This is a whole new area of learning with Drupal... (At times I kind of wish that Joomla, which was the first CMS I checked out had the ability to manage relationships as Drupal has, because some of the things seemed kind of easy to use... Oh, well - there is much more room here to grow.)
Comment #7
tanitani CreditAttribution: tanitani commentedHi Swentel -- sorry to bother you again. I am not sure whether this has to do with the patch (probably it does not and I could open a new issue if you like).
When I try to register a new form with the Manage form display link http://localhost/roads/rel-register/nojs/page_node_form?destination=admi..., there is an overlay with the round waiting icon (circle with rays going around and around) and nothing happens. Do you have any insight?