I set up a matrix field with custom widget (3x4 table with checkboxes) in taxonomy content type.
After viewing previously saved term I got this error:
Undefined index: col line #831 in matrix.module

That line goes like this:

 $field_settings = $settings['col'][$item['col']];

I made small adjustment:

$field_settings = $settings['cols'][$item['col']];

No more errors after that. Dunno why it works.

CommentFileSizeAuthor
#4 matrix-field-error.fw_.png355.43 KBRosamunda

Comments

Rontero’s picture

Forgot to add that it's drupal 7 with git version of module (7.x-2.x)

intrafusion’s picture

Status: Active » Closed (won't fix)
dan_lennox’s picture

Version: master » 7.x-2.x-dev
Status: Closed (won't fix) » Active

I'm getting this same issue on 7.x-2.x-dev.

The fix suggested by Rontero worked for me.

Sorry to reopen here, but why is this marked as "won't fix"? This seems like a very valid bug fix to me.

Rosamunda’s picture

Priority: Normal » Major
StatusFileSize
new355.43 KB

I do get weird errors after following all the instructions on the upgrade path. I´ve tried Rontero´s solution and still the error is there.

I can´t get this module to work with an already existing field (that´s why I´ve change Priority to mayor).

I´ve attached a file to show the Undefined index error that I get.

Any help is very much appreciated!!
Thanks!
Rosamunda

intrafusion’s picture

Priority: Major » Normal
Status: Active » Fixed

Adjusted the code as per Rontero's solution, commit details

@Rosamunda please open a new issue for your problem, however as I'm a new co-maintainer I doubt whether I can help fix your issue as I'm concentrating on D7 development rather anything to do with D6, etc.

Rosamunda’s picture

Thanks for your reply. But the error that I´m getting is on D7.
It´s not on a fresh install though. But it still is D7 :)

Status: Fixed » Closed (fixed)

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