When adding the subscribe block for one of the mailing lists to a panels page, the block is reported as "Deleted/missing block". Upon viewing the page error message is generated by panels module "Notice: Undefined index: module in _ctools_block_get_module_delta() ...".

Reported here as unable to reporduce with any other modules/blocks.

Comments

rickmanelius’s picture

Same here.

tronathan’s picture

This repros for me as well. Any thoughts/guidance on a fix?

Any workarounds?

damienmckenna’s picture

How about side-stepping that and building a CTools "content type" plugin to display the subscription block?

rickmanelius’s picture

Still an issue. Will continue to drop in custom code for the time being!

Anonymous’s picture

Some here.

levelos’s picture

Project: Mailchimp » Panels
Version: 7.x-2.1 » 7.x-3.0-alpha3
Component: General » Code

I'm not a Panels developer so have no idea what the issue is. The mailchimp_lists module is outputting blocks correctly from what I can tell. The block deltas are the MC list ID's. Maybe Panels has some type of requirement on what those deltas can be. Putting back into Panels queue.

Letharion’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 7.x-3.0-alpha3 » 7.x-1.0-rc1
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Summary: MailChimp blocks are somehow "mishandled" in Ctools. Don't know why. The result when viewing such a block is: "Notice: Undefined index: module in _ctools_block_get_module_delta() ...".

I agree with levelos that there's I can see that mailchimp does wrong.

I will move it along to Ctools as that's where the blocks are actually handled, as can be seen from the function name.

Is there a way to test this without actually having a mailchimp account and a list?
Can someone provide a backtrace? Which version of ctools does it actually occur with, and does using -dev help?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

If someone can help with reproducing this, great.