as in title, what do I do to make it working under D7? it happens in dev and 1.0 version for me... I use i18n, it's the only block module I use, screenshot attached

Comments

PI_Ron’s picture

I'm also getting one:

Notice: Undefined index: help in block_tab_preprocess_block() (line 42 of /home/amzenth/public_html/sites/all/modules/block_tab/block_tab.module).

with latest version.

Ciraxis’s picture

hm i dont get that error. I run drupal 7.9 and block tab 7.x-1.0
What is your drupal version?

asaguiar’s picture

Hi,

I have identical error with D7 7.9 and Block Tab 1.0. The same error with all themes.
As am newcomer to Drupal, still don't have a clue.

Alexandre

singgum3b’s picture

same error. drupal 7.

imclean’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new581 bytes

Line 42 should use isset(). This patch adds it.

blueyedkellyn’s picture

I attempted this patch and the error message went away but the page to configure the settings still does not appear..?

Let me know your thoughts on any additional action I can attempt to get this module up and running.

Thank you in advance

imclean’s picture

In D7 the config page is under Configuration -> System -> Block Tab settings.

This information should probably be on the project page.

errand’s picture

Hello!
Patch does the job but after using it all block titles dissapeared.

imclean’s picture

StatusFileSize
new761 bytes

@errand, they do indeed, thanks. Try this one.

The problem seems to occur when a region is added after block_tab has been enabled.

aniebel’s picture

the patch in #9 worked for me to resolve!

wooody’s picture

Thanks, block_tab_undefined_index-1301278-9.patch works with me too.

az’s picture

Confirm, the #9 patch works for me.

univate’s picture

Status: Needs review » Reviewed & tested by the community

#9 - works

This fixes errors showing when you change regions or chnge theme (with different regsions) after block tab settings defined.

kerrycurtain’s picture

Title: D7 undefined index error, module block_tab not working... » D7 Core/Structure/Blocks - page displaying plain text links only
StatusFileSize
new88.09 KB

Hi
I have recently uploaded my site from localhost to Bluehost server. Uploaded using filezilla. Have had a few little issues since. But the main problem is that the Blocks interface is displaying as plain text links only and I cannot get in. Pls see the attached screenshot. All other pages appear as normal.

Unable to find the solution via searches (maybe asking the wrong question?). Tried re-uploading the Blocks module files from local to server... to no avail. Now it is time to ask for help with this or some guidance on where I should look.

Thanks in advance.

univate’s picture

Title: D7 Core/Structure/Blocks - page displaying plain text links only » D7 undefined index error, module block_tab not working

@kerrycurtain - please create a new issue - don't change an existing issue.

kerrycurtain’s picture

Ok have already done so at https://drupal.org/node/2053577. Apologies.

stinky’s picture

Tried running patch #9 and get the msg

Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file block_tab.module.rej

I'm using 7.x-1.1 and am getting the msg

Notice: Undefined index: content in block_tab_preprocess_block() (line 44

x3appdev’s picture

Me too.

Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file block_tab.module.rej

Both patches failed. I was looking forward to playing with this module too.
Fix it! Please.

x3appdev’s picture

Priority: Critical » Normal
Issue summary: View changes
stinky’s picture

Any way to fix this? I'm getting the error msg

Notice: Undefined index: help in block_tab_preprocess_block()

rcodina’s picture

Status: Reviewed & tested by the community » Needs work

Patch on #9 applies cleanly on 7.x-1.0 and it works. However, this patch doesn't apply neither on 7.x-1.1 nor latest dev version. So it needs to be rerolled for latest dev version.

spokje’s picture

Status: Needs work » Needs review
StatusFileSize
new556 bytes

Rerolled patch against 7.x-1.x

spokje’s picture

Status: Needs review » Needs work

Turns out Patch #22 resulted in Block Titles not being shown.
Put status on "Needs work".

My issue (Notice: Undefined offset: -1 in block_tab_preprocess_block() (Line 44 von /sites/all/modules/block_tab/block_tab.module)) was resolved with Patch #2 in https://www.drupal.org/node/2910778

kwasib’s picture

Status: Needs work » Needs review
StatusFileSize
new768 bytes

Rerolled patch #9 against 7.x-1.x