Hi

The matrix-field works fine on the node-page, i don't get any error messages on the site where the node with the matrix-field is displayed, but i wanted to add one matrix-field-field to an existing view (i'm using views 6.x-2.8). The Matrix-field is being displayed well on the view-page, but i get several error messages:

* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.moduleon line 773.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in/home/httpd/vhosts/*****/modules/matrix/matrix.moduleon line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.

How can i fix that? thanks for help!

Comments

dbetschart’s picture

Category: support » bug

sorry my post got messed up, i get only the following errors:

* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 763.
* warning: ksort() expects parameter 1 to be array, null given in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 771.
* warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/*****/modules/matrix/matrix.module on line 773.

As I said, i get these errors only on the views-page, not on the node-page itself.. could someone please help me with that? thanks!

dbetschart’s picture

Status: Active » Fixed

i found the error: in my view, i had some content which does not have a matrix-table-field. i deleted all the content displayed in the view and created it new with the matrix-field, now the error messages in the view are gone.

Status: Fixed » Closed (fixed)

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