Closed (fixed)
Project:
Entityform block
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
16 Aug 2013 at 09:10 UTC
Updated:
16 Jun 2015 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
timodwhit commentedWas this on an existing entityform or a new entityform?
Can you recreate the issue on a clean Drupal install? I have not been able to recreate this issue.
Thanks for the help!
Comment #2
timodwhit commentedComment #3
bonchak commentedHello,
This notice occurs each time I create an entityform even without entity block is not choosen. Evertime I edit an entityform this problem re-occurs. I did not test this issue on another site yet but i'll let you know. I can provide account details for the site if you want to check this issue.
BEst regards
Halil
Comment #4
Myrddin66 commentedHi,
For anyone having the same issue, try this in entityform_block.module :
line 93 replace
$form_state['values']['data']['block_set']['current_type']with
$form_state['values']['data']['current_type']and line 106 replace
$form_state['values']['data']['block_set']['enable_block']with
$form_state['values']['data']['enable_block']Bye
Comment #5
charlie charles commentedThanks worked for me too! :)
Comment #6
timodwhit commentedFixed this. Thanks for the find.
Comment #7
chrisfromredfinI get this error, but line 107. Removing the ['block_set'] key makes it work for me.
Comment #8
wjackson commentedAttached is a patch with the changes specified in comment #4.
Comment #9
chrisfromredfinMarking 'needs review'
Comment #10
aimeerae@will.j, thank you for the timely patch. I have applied the patch at Comment #8 and the error has gone away and a new form block is created. Thank you!
Comment #11
blackice2999 commented#8 solves this bug
Comment #12
drurian commentedFixed
Comment #15
sodome commented[block_set] seems to have crept back into line 107 of the 7.x-1.2 version. Sprang the same error today trying to edit the form. Deleting it fixed the issue.
Comment #16
upunkt commentedSame here, 7.x 1.2, patch #8 resolves issue.
Comment #17
drurian commentedOk it seems we have two conflicting issues here. This one and https://www.drupal.org/node/2079239
Comment #18
drurian commentedComment #19
umakart commentedThx for #8 patch
Comment #20
timodwhit commentedI actually rerolled this patch into 7.x-1.3 because of 7.x-1.2 wasn't allowing the saving of an entityform block.
However I think some things changed in dev that need the patch from the related issue posted by @drurian.
Thus, updating to 7.x-1.3 should solve this.
Comment #21
ericdsd commentedAfter updating to 1.3 - enable block stopped working
in entityform_block/entityform_block.module line 107
replacing
if ($form_state['values']['data']['enable_block'] == 1) {
by
if ($form_state['values']['data']['block_set']['enable_block'] == 1) {
did the trick
Comment #22
timodwhit commented@ericdsd. Just tried out the 1.3 branch on simplytest.me, can you explain the steps to reproduce the error, I was not able to do so.