Hi there! We're relatively new to Panels and don't know PHP. We'd be really, really grateful for any assistance.

So far, we just set up some basic panel pages with our Drupal Commons 3.x install. We found the process (relatively) simple and straightforward.

However, today we wanted to put some borders around the blocks in our sidebar panel, on the homepage "panel page". So we used that nice "Customize Page" button and clicked the paintbrush to edit the styles for the content blocks in our sidebar.

It worked, but now we're getting an error, at the top of just our homepage:

Notice: Undefined index: settings in panels_renderer_standard->render_pane() (line 495 of /usr/www/users/oursite/oursite2/profiles/commons/modules/contrib/panels/plugins/display_renderers/panels_renderer_standard.class.php)

We're not sure what to try. I've searched and haven't found any reports of the same error. If someone could point us in a direction that would be great. I mean, our sidebar looks better, but the error is a little unsightly. :)

Comments

While this won't fix the bug, you can mitigate its effect on your site by visiting admin/config/development/logging and setting it to display either no errors or only warnings and errors.

The actual bug seems to be that the 'settings' array is missing from a style, which is quite unusual. I'm not sure offhand what might be causing it. :(

Hey, thanks for checking this out! And for the advice about the logging; we'll definitely do that for the launch.

As to the bug, is there any information or access I could give you that might help diagnose this? Or anything I should try that might "revert back" or "override" the style to possibly "reset" it in some way?

So far we tried some basic stuff based on pure guesswork, but it didn't make the error go away:

+ changing the page layout and resaving
+ toggling the content styles to "no markup at all", saving
+ disabling and re-enabling the panel variants (obviously when there's no panel content on the homepage, the error goes away - along with our content! - but when we re-enable the error comes back)

Let me know what you think! :) And thanks again for your assistance.

The error is almost certainly with a style that has no settings.

One thing you might do is export the page and look through the output (you can attach it to this issue, if it's safe to publish the info in it) to see if there is a 'style' without a 'settings'. Since you don't know PHP, I can look through exported output and potentially quickly determine which style is causing it.

I'm getting a lot of these errors in my logs. Is there any specific things I can provide that might help. Exports.. etc...(What do I export?)

I'm using Panelizer-3.x-dev and Panels-3.x-dev. Note, all my pages seem to work correctly, it just shows these errors in the logs.

For what is worth... I spoke to @merlinofchaos and he indicated that this looked like a specific pane on my page was causing these errors.

I use https://drupal.org/project/panels_breadcrumbs and when I disabled ->saved->and reenabled my panels_breadcrumb pane on each node that had errors, the errors went away.

Hope that helps someone. Thanks @merlinofchaos

Hey, I was able to resolve this error pretty easily. I had been working with some new styles, making a clone of an existing, changing styles around on a specific panel pane. then, i decided that i really needed to make the change to the entire column. so i added a style there and changed the panel pane style back to the original style. i then began receiving the error.

I was quite sure what was going on after reading this post (and thanks @merlinofchaos! for everything!). I recreated the offending, or broken panel pane to make sure it worked properly, deleted the original pane and saved the page. the error is now gone.

then, i added the original style to the new, recreated pane. now, all is correct and the error is gone. and i have the new style on the column so that i can style the whole thing the way that works best for me.

so there never was actually an empty style, i believe that the system just got a little confused with the multiple changes. that also seems to be consistent with some drupal panel behavior. sometimes you just need to delete and recreate rather than fix unless you want to really dig into the db. and i really don't!

small price to pay for the amazing panels module. @merlinofchaos - you rock.

Hey, I was able to resolve this error pretty easily. I had been working with some new styles, making a clone of an existing, changing styles around on a specific panel pane. then, i decided that i really needed to make the change to the entire column. so i added a style there and changed the panel pane style back to the original style. i then began receiving the error.

I was quite sure what was going on after reading this post (and thanks @merlinofchaos! for everything!). I recreated the offending, or broken panel pane to make sure it worked properly, deleted the original pane and saved the page. the error is now gone.

then, i added the original style to the new, recreated pane. now, all is correct and the error is gone. and i have the new style on the column so that i can style the whole thing the way that works best for me.

so there never was actually an empty style, i believe that the system just got a little confused with the multiple changes. that also seems to be consistent with some drupal panel behavior. sometimes you just need to delete and recreate rather than fix unless you want to really dig into the db. and i really don't!

small price to pay for the amazing panels module. @merlinofchaos - you rock.

i also posted this to the Drupal blog that I maintain, in case anyone wants to take a look.

http://startlearningdrupal.wordpress.com/2013/10/23/resolved-error-495-i...