Activating module 5.x-1.2 is no problem.
Adding matrix field to content type gives following warning... warning: Invalid argument supplied for foreach() in /var/www/html/matrix/sites/all/modules/matrix/matrix.module on line 179.
The module is working ok.

Using:
- Drupal 5.2
- Matrix 5.x-1.2

CommentFileSizeAuthor
#1 matrix_phpwarning.patch1.65 KBFirewolf

Comments

Firewolf’s picture

StatusFileSize
new1.65 KB

Patch for this issue.

Johnboat’s picture

How do you apply this patch?

Firewolf’s picture

mh86’s picture

Status: Active » Fixed

Hi!
The patch has been committed to the drupal-5 branch (dev version). Thanks for your work.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

slombardi’s picture

Hi,
I aplied this patch and the warning message disappears, but instead of viewing the matrix i get the following text:

'No matrix rows and columns defined yet.'

The matrix-based content field is propelry configured and I did set up some row and column definition,

Any idea? thanks in advance

Steel Rat’s picture

I applied the latest Matrix module and I still get the error. No matrix is displayed when editing, only the title and a horizontal bar.

Steel Rat’s picture

Ok, turns out the warning I was getting was mainly due to the fact that I had only entered Column values and not rows. Didn't know rows were required.