Group Pluging Error

Posted in

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

7 Responses to Group Pluging Error

  1. Richard Williamson December 1, 2022 at 3:08 pm #

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

    • Kento December 2, 2022 at 6:17 pm #

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

      • Richard Williamson December 2, 2022 at 6:50 pm #

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

        • Kento December 2, 2022 at 8:49 pm #

          Awesome Rich, happy weekend!

  2. Richard Williamson December 1, 2022 at 1:47 pm #

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

    • Kento December 1, 2022 at 2:51 pm #

      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. Kento December 1, 2022 at 1:25 pm #


    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).


We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account