I updated the Nivo Slider today from 7.x-1.0-beta2 to the 7.x-1.0-beta3 version, and I know keep getting this error code across multiple pages:

'Notice: Undefined index: render element in theme() (line 959' of /.../includes/theme.inc).

Not sure if this code is directly related to the module or not, but when I disable the Nivo Slider, the code goes away. I'm new to drupal, and this is the only module I have installed (besides the dependent and core modules) on the site I'm working on.

Any thoughts?

Comments

damir’s picture

I have same error.

commanderflash’s picture

I am having the same issue too. Mine was a new install though.

devin carlson’s picture

Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » devin carlson
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new425 bytes

Thanks for the bug reports.

I did deploy the new render-array enabled code to a few test sites but somehow didn't catch the error.
The attached patch should solve the problem (fix the error notice). It specifies which render element to return to theme().

devin carlson’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x-dev. I've also pushed out Beta 4 which includes this fix.

I'm marking this as fixed. If you are still experiencing this issue, please feel free to reopen it.

Status: Fixed » Closed (fixed)

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