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.
Hi,
I clicked the Send Relationship Request link and the page was taking awhile to load so I clicked it again. I received the below errors:
- warning: array_fill() [function.array-fill]: Number of elements must be positive in /srv/www/example.com/public_html/includes/database.inc on line 253.
- warning: implode() [function.implode]: Invalid arguments passed in /srv/www/example.com/public_html/includes/database.inc on line 253.
- warning: array_keys() [function.array-keys]: The first argument should be an array in /srv/www/example.com/public_html/modules/user/user.module on line 513.
- 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 p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /srv/www/example.com/public_html/modules/user/user.module on line 513.
Can someone please help so that users do not receive this scary error when the send relationship link is clicked more than once.
Thank you!
Comments
Comment #1
mrf CreditAttribution: mrf commentedI'm unable to replicate this error on a clean install, can you provide information about what browser or additional UR related modules you are using?
Comment #2
mrf CreditAttribution: mrf commented