Hi,
It's just to said than I've PHP Notice on my log :
Jun 25 00:35:56 server drupal: http://www.server.com|1308954956|php|xxx.xxx.xxx.xxx|http://www.server.com/admin/build/views||1||Notice: Undefined index: serialize in gmaps_content_address_field_load() (line 531 of /var/www/www-server-com/sites/all/modules/gmaps/modules/gmaps_content/gmaps_content.module).
Jun 25 00:35:56 server drupal: last message repeated 18 times
I've found how to remove this notive and I would like to share it
524 function gmaps_content_address_field_load(&$node, $field, $reversed = FALSE, $unserialize = FALSE, $delta = NULL) {
525 static $columns, $serialize;
526
527 if (is_null($columns)) {
528 $columns = $serialize = array();
529 $schema = drupal_get_schema('gmaps_content_address');
530 foreach ($schema['fields'] as $column => $info) {
531 if ($info['serialize']) {
532 $serialize[] = $column;
533 }
524 function gmaps_content_address_field_load(&$node, $field, $reversed = FALSE, $unserialize = FALSE, $delta = NULL) {
525 static $columns, $serialize;
526
527 if (is_null($columns)) {
528 $columns = $serialize = array();
529 $schema = drupal_get_schema('gmaps_content_address');
530 foreach ($schema['fields'] as $column => $info) {
531 if (isset($info['serialize'])) {
532 $serialize[] = $column;
533 }
I've juste modified the line 531
Bye
Comments
Comment #1
pydubreucq commentedHi,
I've forgotten to said than I have this php error, after migrate to PressFlow.
Bye
Comment #2
jkingsnorth commentedDuplicate of #1192378: error with Invalid argument supplied for foreach()