Hello,

I'm using the Matrix Field to display a table in an catalog. But when i set the Matrix field in the Views section I get 10 of the following errors:

warning: Missing argument 3 for matrix_format_prepare(), called in /var/www/vhosts/mysite.com/httpdocs/modules/matrix/matrix_handler_field.inc on line 28 and defined in /var/www/vhosts/mysite.com/httpdocs/modules/matrix/matrix.module on line 959.

I've tried different things for hours but the errors are still there.

Can anybody help me?

Thanx

Comments

hermanns’s picture

Have the same Problem. Probably it's in the error is in this line
function matrix_format_prepare($field_data, $item = NULL, $field_name) {

the $field_name got no input. I have tested it with
function matrix_format_prepare($field_data, $item = NULL, $field_name = NULL) {

But then nothing happend. No errors, no view.

Please Help.

In the German-Community is an Issue too.
http://www.drupalcenter.de/node/28101

PepeMty’s picture

Almost the same here, but for a slight difference:

warning: Missing argument 3 for matrix_format_prepare(), called in /home/myaccount/mysite.com/sites/all/modules/matrix/matrix_handler_cell.inc on line 30 and defined in /home/myaccount/mysite.com/sites/all/modules/matrix/matrix.module on line 959.

Any idea? Somebody?

Warm regards from way too sunny México!
:-)
José

alayham’s picture

Category: support » bug

replaced line 28 with

$prepared = matrix_format_prepare($field_info[$this->content_field['field_name']],NULL,$this->content_field['field_name']);

Result: no error, and I have the matrix in the view output.

intrafusion’s picture

Status: Active » Closed (won't fix)