Hi I've migrated my content and users from Joomla tio drupal with user_import and node_import modules.
It seems to work all well, except i receive this error when trying to edit comments settings.
on admin/content/comment/settings I receive this message:

    * warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/drupal-5.7/modules/user/user.module on line 378.
    * warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/drupal-5.7/modules/user/user.module on line 379.
    * warning: implode() [function.implode]: Bad arguments. in /var/www/drupal-5.7/modules/user/user.module on line 379.
    * 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: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/drupal-5.7/includes/database.mysqli.inc on line 151.

I think that the error is related to some strange data in my db. Can someone please help me find out what's wrong?

Comments

lhtown’s picture

I don't understand the error. Perhaps if you tell us how you upgraded, it would shed some light on the situation.