Posted by dsellers on September 9, 2007 at 10:48pm
Jump to:
| Project: | Autoresponder |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | cyberpunk |
| Status: | closed (fixed) |
Issue Summary
I downloaded and installed autoresponder.
I log in to admin, and try to create sets.
i submit the set and get this error:
* warning: Illegal offset type in isset or empty in /var/www/suredeals/includes/bootstrap.inc on line 705.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 706.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 709.
also the set does not show up in the drop down box of the block//
Comments
#1
Try to download from CVS:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/autorespond...
#2
Now i get this errror
* user warning: Column count doesn't match value count at row 1 query: INSERT INTO autoresponder_sets (id, name, description, message, active, unsubscribe) VALUES(1, 'Apparel', '', '', '0') in /var/www/suredeals/includes/database.mysql.inc on line 172.
* warning: Illegal offset type in isset or empty in /var/www/suredeals/includes/bootstrap.inc on line 705.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 706.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 709.
maybe the MySql table is not correct?
#3
The cause of this problem is in the function autoresponder_set_edit_create_form_submit. When adding a new set, the db_query substitution array doesn't have enough elements to match the array of data being inserted. This might be related to the "unsubscribe" form field, because this field is commented out in the set_edit_create_form but it's in the code for the submit function.
#4
Thanks for the help and coments! I really appreciate that!. Bug is now fixed. Please test and report bugs, release will be very soon!
#5
Still getting this error:
* warning: Illegal offset type in isset or empty in /var/www/suredeals/includes/bootstrap.inc on line 705.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 706.
* warning: Illegal offset type in /var/www/suredeals/includes/bootstrap.inc on line 709.
Any Ideas?
#6