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.
To reproduce this error just go to admin/structure/oauthconnector and disable any provider.
This error is due to the css class 'oauthconnector-provider-disabled' which is written as a string whereas theme_table() expect an array.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1764028-oauthconnector-fix-css-class.patch | 1.13 KB | theo_ |
Comments
Comment #1
theo_ CreditAttribution: theo_ commentedComment #2
jsacksick CreditAttribution: jsacksick commentedThe second part of the patch is fine but I think we should totally remove the first part as $provider is not even defined in the function, the !empty($prodiver->disabled) test will never pass since it will always be empty.
Comment #3
jsacksick CreditAttribution: jsacksick commentedCommitted a slightly different patch in dev, thanks ! http://drupalcode.org/project/oauthconnector.git/commit/7333bc4