Hello,
I just installed this on my site and now I get the following errors on the Comment Notify settings page:
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/vhosts/development6.xxxxxx.com/httpdocs/includes/database.inc on line 241.
* warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/development6.xxxxxx.com/httpdocs/includes/database.inc on line 241.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/vhosts/development6.xxxxxx.com/httpdocs/modules/user/user.module on line 500.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: user_access /* admin : user_access */ SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/vhosts/development6.xxxxxx.com/httpdocs/modules/user/user.module on line 500.
Core version: 6.8
I didn't have any other issues that I know about before installing the module. I don't really know what to do about these. Any thoughts? Thanks.
Comments
Comment #1
gregglesDo you have any other modules installed? I've never seen or heard of this error before which makes it hard to diagnose. It also doesn't come directly from Pathauto itself...
Maybe this was some bad menu definitions. Can you try upgrading to 6.x-1.x-dev and see if that fixes the problem?
Comment #2
chadcross commentedHowdy. I do have a lot of other modules installed, if you want to investigate this further I can post them all.
But... I upgraded and the errors are gone. Thanks for the help.
Comment #3
gregglesComment #4
Terebinth commentedHi
I've got an error popping up on my settings page as well.
warning: Invalid argument supplied for foreach() in /xxxx/xxxx/public_html/includes/form.inc on line 1193.
I've just installed this module.
I've got the following modules installed:
Admin menu, Admin role, Advanced help, Backup & Migrate, Bible, Captcha, Pathauto, Printer/pdf/emails, poormanscron, dhtml menu, contemplate, cck, views, flag, logintoboggan, privatemsg, taxonomy manager, token and webforms.
Thanx!
Comment #5
Terebinth commentedOoops,
Just saw it's been dealt with here:
http://drupal.org/node/352325
will try out the 6.x-1.x-dev version
Cheers