Jump to:
| Project: | Ubercart Donation Products |
| Version: | 6.x-2.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hi,
Can't seem to get Donation Product working on 6.12. After enabling I get this:
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /var/www/vhosts/site/httpdocs/drupal-6.12/includes/database.mysqli.inc on line 323.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /var/www/vhosts/site/httpdocs/drupal-6.12/includes/database.mysqli.inc on line 323.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /var/www/vhosts/site/httpdocs/drupal-6.12/includes/database.mysqli.inc on line 323.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /var/www/vhosts/site/httpdocs/drupal-6.12/includes/database.mysqli.inc on line 323.
Advice is appreciated...
Dan
Comments
#1
What other modules do you have installed? I can't replicate this issue.
#2
This error occurred for me when my new module's hook_node_info() defined an already existing node. (whoops!)
You might want to make sure any possibly conflicting mods are completely uninstalled.
#3
This is a problem with D6.16. I have UC installed and extras, Cart Link, Product Kit, Member Pricing, PayPal, Payment Method Pack, and Credit Card.
#4
I'm having the same issue with D6.19 and UC 6.x-2.4. Other UC modules I have enabled are Attribute, Catalog, Payment, Webform Checkout Pane (us_webform_pane), and PayPal (uc_paypal). As suggested by bobzibub, I think it may have something to do with conflicting URL aliases.
#5
The issue was occurring for me because I had a UC product class called 'donation'. As soon as I removed that product class, uc_donation installed fine.