Group Pluging Error

Getting this error on our site:
E_ERROR was caused in line 240 of the file /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php:240 Stack trace: #0 /home/scudde7/public_html/dev/wp-content/plugins/groups/lib/access/class-groups-access-meta-boxes.php(240): in_array(‘9’, ”) #1 /home/scudde7/public_html/dev/wp-admin/includes/template.php(1409): Groups_Access_Meta_Boxes::groups(Object(WP_Post), Array) #2 /home/scudde7/public_html/dev/wp-admin/edit-form-advanced.php(681): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post)) #3 /home/scudde7/public_html/dev/wp-admin/post-new.php(75): require(‘/home/scudde7/p…’) #4 {main} thrown


Comments

7 responses to “Group Pluging Error”

  1. Richard Williamson Avatar
    Richard Williamson

    Thanks, I’ll keep my eye out for the new release.

    1. FYI the new version 2.17.0 has just been released with this fixed.

      1. Richard Williamson Avatar
        Richard Williamson

        Thank you, I’ve updated the plugin and I’m able to access the forms that were crashing before. Have a Great Weekend. Rich

        1. Awesome Rich, happy weekend!

  2. Richard Williamson Avatar
    Richard Williamson

    Thank you, should we revert back to a prior version of PHP?

    1. No, I wouldn’t do that. We’re going to release an update that fixes the error anyhow, I’m looking at it right now so we should have it ready quickly. Please wait for the new release and then update Groups as soon as it’s available.

  3. Hi,

    Thanks for reporting the error! It seems that this needs to be fixed as PHP 8.x raises an error when 7.x raised a warning (neither should happen in any case).

    Cheers!

Share