Closed (fixed)
Project:
Matrix field
Version:
5.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2007 at 17:50 UTC
Updated:
9 May 2008 at 23:26 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | matrix_phpwarning.patch | 1.65 KB | Firewolf |
Comments
Comment #1
Firewolf commentedPatch for this issue.
Comment #2
Johnboat commentedHow do you apply this patch?
Comment #3
Firewolf commentedThe usual way: http://drupal.org/patch/apply
Comment #4
mh86 commentedHi!
The patch has been committed to the drupal-5 branch (dev version). Thanks for your work.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
slombardi commentedHi,
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
Comment #7
Steel Rat commentedI applied the latest Matrix module and I still get the error. No matrix is displayed when editing, only the title and a horizontal bar.
Comment #8
Steel Rat commentedOk, 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.