Just upgraded to v6.x-3.1 on a brand new site (empty db).
When I edit a new content type (admin/content/node-type/xxxxxx) for which Location settings have not been defined, I get the following error, and again on the next screen after updating and saving the location settings for the content type:
warning: trim() expects parameter 1 to be string, array given in /home/xxxx/public_html/sites/all/modules/location/location.inc on line 498.
Once the settings are saved though, the error does not appear again.
I am running:
- Drupal 6.17
- Ubuntu Lucid 10.04LTS
- MySQL 22.214.171.124
- PHP 5.3.2 as fcgid