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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shadcn’s picture

Status: Active » Fixed
hazit’s picture

Same 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.

shadcn’s picture

We've not created any releases since the fix i think. Can you test with the dev version?

hazit’s picture

Hi 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! :-)

hazit’s picture

Status: Fixed » Active

Sorry 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.

shadcn’s picture

Can you share some screenshots of the messed up panes please? I'm working on this tonight.

hazit’s picture

Hi 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)

hazit’s picture

Here 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

shadcn’s picture

Which panel layout is used on this page?

SocialNicheGuru’s picture

i can confirm that this is a problem for the newest one

shadcn’s picture

Help me reproduce this error. Open Atrium + Radix dev? then which part of open atrium? page? spaces? Thanks

shadcn’s picture

Status: Active » Fixed

No activity here. I'm marking this as fixed. Feel free to reopen.

SocialNicheGuru’s picture

Status: Fixed » Active

I 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

SocialNicheGuru’s picture

Title: Notice: Undefined index: #parents in radix_button » Conflict with contextual module css

Changed title: Notice: Undefined index: #parents in radix_button

hazit’s picture

FileSize
138.03 KB

Back 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

shadcn’s picture

I found the bug. Pushing a fix shortly.

shadcn’s picture

Status: Active » Fixed

Pushed a fix for this. Please update compass_radix. gem update compass_radix

Status: Fixed » Closed (fixed)

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

SocialNicheGuru’s picture

This is not fixed.

SocialNicheGuru’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

I am still getting this issue with new versions of radix

mixxmac’s picture

Me 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.

shadcn’s picture

We removed the display: table by default in the new Radix. This should solve this issue.

shadcn’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

SocialNicheGuru’s picture

Status: Closed (fixed) » Patch (to be ported)

will it be backported to 7.2.x?

  • arshadcn committed b5b1fa9 on 8.x-3.x
    Issue #2044225 by SocialNicheGuru: Undefined index: #parents in...
shadcn’s picture

Status: Patch (to be ported) » Fixed

Closing this as outdated. Feel free to reopen if not. Thank you.

Status: Fixed » Closed (fixed)

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