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.
Notice: Undefined index: #parents in radix_button() (line 247 of openatrium-7.x-2.x-dev/profiles/openatrium/themes/radix/template.php
I get this intermittently.
Comment | File | Size | Author |
---|---|---|---|
#15 | contextual.jpg | 138.03 KB | hazit |
#8 | Using_Radix_7x2Beta1.jpg | 289.16 KB | hazit |
#8 | Using_Radix7x2beta1_30-dev.jpg | 296.16 KB | hazit |
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedThanks. I pushed a fix for it. http://drupalcode.org/project/radix.git/commit/b5b1fa9
Comment #2
hazit CreditAttribution: hazit commentedSame problem, using the following:
Radix 7.x-2.0-alpha3+8-dev
Open Atrium Radix 7.x-2.0-beta1+0-dev
Will run updates to see if it fixes the problem. If you don't hear from me, assume its worked.
Comment #3
shadcn CreditAttribution: shadcn commentedWe've not created any releases since the fix i think. Can you test with the dev version?
Comment #4
hazit CreditAttribution: hazit commentedHi there. Thanks for the response, and for the tip.
Took your advice, and updated as per the following:
Radix
From "7.x-2.0-beta1" to "7.x-2.0-beta1+30-dev"
OA Radix
From "7.x-2.0-beta1+0-dev" to "7.x-2.x-dev"
Seemed to fix the problem :-)
I am pretty sure it was the Radix update that did the trick, as I did the OA one first but the problem was still there after running cron and flushing caches.
Going from Radix 7.x-2.0-alpha3+8-dev to 7.x-2.0-beta1 only changed the line number for the error message, so whatever was done between 7.x-2.0-beta1 and 7.x-2.0-beta1+30-dev did the trick (in my case at least).
Cheers and many thanks! :-)
Comment #5
hazit CreditAttribution: hazit commentedSorry to turn this into a saga - while as noted above the new version of Radix (7.x-2.0-beta1+30-dev) solves the "Notice: Undefined index: #parents in radix_button" error problem - it creates a new problem with the way panes display for certain content types.
I tried a fresh instal of Drupal, a fresh instal of OA and this got me back to the "Notice: Undefined index: #parents in radix_button" error message appearing.
I upgraded to Radix 7.x-2.0-beta1+30-dev and this made the error message go away, but totally messed up the way the panes display for new and existing content types.
Could not see how to fix this so have had to revert to Radix 7.x-2.0-beta1, and put up with the error message.
Comment #6
shadcn CreditAttribution: shadcn commentedCan you share some screenshots of the messed up panes please? I'm working on this tonight.
Comment #7
hazit CreditAttribution: hazit commentedHi there
Apologies for the delay.
Attached are some screenshots.
I have gone back to using Radix 7.x-2.0-beta1, and the error messages have gone away. I think that is because I have removed all of the exposed filters from my views, which I think was triggering the problem.
I can happily continue with the 7.x-2.0-beta1 for the time being.
I will watch for Radix updates and will post again when I get a chance to test things out.
(there seems to be a problem attaching the screenshots - will either post them later or email to you)
Comment #8
hazit CreditAttribution: hazit commentedHere are those screen images. I could not load them to this page using firefox as it turns out.
Looking at them again it seems to be something to do with the way the panes span the page. The dev version seems to centre align the content and shrink the panes to fit the content, rather than span the full page.
So for example a new "Project" content type in this example that had no assigned tasks to spread the elements out ends up as a jumble of stuff in the middle of the page.
This could also be my settings, however, as this is my first go at something like this, so I am far from an expert.
Cheers,
H
Comment #9
shadcn CreditAttribution: shadcn commentedWhich panel layout is used on this page?
Comment #10
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedi can confirm that this is a problem for the newest one
Comment #11
shadcn CreditAttribution: shadcn commentedHelp me reproduce this error. Open Atrium + Radix dev? then which part of open atrium? page? spaces? Thanks
Comment #12
shadcn CreditAttribution: shadcn commentedNo activity here. I'm marking this as fixed. Feel free to reopen.
Comment #13
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI have the same issue as in #8 with Radix sept 10.
This is because of the interaction of radix with the contextual module in core. I think specifically contextual-links attribute.
I had to go through and disable a number of modules. I noticed that contextual-links attribute in css was provided by contextual module and then overwritten by radix
Comment #14
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedChanged title: Notice: Undefined index: #parents in radix_button
Comment #15
hazit CreditAttribution: hazit commentedBack here again
Just ran a completely fresh instal of OA 7.x-2.0-beta3+36-dev
Was getting the same problem with all the content centre-aligning, until I came back here and saw that Contextual Links might have something to do with it.
I switched off the Contextual Links module and sure enough it seemed to fix the problem.
This is strange as I have had Contextual Links working fine with an OA/Radix instal before.
This is annoying as Contextual Links is a handy module.
Sorry I cant tell you more about which versions of what it works with or not.
I have attached a screen shot of what happens on a fresh OA instal with Contextual Links switched on.
H
Comment #16
shadcn CreditAttribution: shadcn commentedI found the bug. Pushing a fix shortly.
Comment #17
shadcn CreditAttribution: shadcn commentedPushed a fix for this. Please update compass_radix.
gem update compass_radix
Comment #19
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis is not fixed.
Comment #20
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI am still getting this issue with new versions of radix
Comment #21
mixxmac CreditAttribution: mixxmac commentedMe too. I think the
.contextual_links_region
class may be getting added to the wrong elements sometimes. I noticed it was getting a value of{display: table;}
also.I used this css as a fix...
.contextual_links_region {display: block;}
and it seems to work so far.Comment #22
shadcn CreditAttribution: shadcn commentedWe removed the display: table by default in the new Radix. This should solve this issue.
Comment #23
shadcn CreditAttribution: shadcn commentedComment #25
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedwill it be backported to 7.2.x?
Comment #27
shadcn CreditAttribution: shadcn at Chapter Three commentedClosing this as outdated. Feel free to reopen if not. Thank you.