Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I received the following error on a fresh install:
Type php
Date Monday, June 2, 2008 - 12:26
User admin
Location http://localhost/?q=admin/settings/imagefield_gallery_types
Referrer http://localhost/?q=admin/settings/imagefield_gallery_types
Message mysql_real_escape_string() expects parameter 1 to be string, array given in /var/www/drupal57/includes/database.mysql.inc on line 400.
Severity error
Comments
Comment #1
EclipseGc CreditAttribution: EclipseGc commentedwhat version of php are you running?
Comment #2
kulfi CreditAttribution: kulfi commentedI have PHP v 5.1.2
Comment #3
EclipseGc CreditAttribution: EclipseGc commentedI was afraid of that... I've tried very hard not to introduce any bugs into the php 5 realm, but I haven't tested my most recent version in 5.x so I'll have to do that. I still don't think it's my bug, but I'll try to take a look shortly.
Eclipse