• We have been getting the following warnings since I updated the Groups plugin on Feb. 15:

    
    Warning: Illegal offset type in .../wp-content/plugins/groups/lib/admin/class-groups-admin-posts.php on line 561
    
    Warning: Illegal offset type in .../wp-content/plugins/groups/lib/admin/class-groups-admin-posts.php on line 532
    
    Warning: Illegal offset type in .../wp-content/plugins/groups/lib/admin/class-groups-admin-posts.php on line 532

    We have only noticed it on pages in the Easy Digital Downloads section in the backend, so figure there must be a conflict with that plugin. It has happened on two different sites – both use Groups and Easy Digital Downloads. I fixed it on the other site by switching to Restrict Content, but I would like to keep the Groups plugin on this site, so am hoping this can be resolved. I also saw on the Itthinkx forum that someone else had the same problem, although they didn’t mention what other plugins they used.

    It only seems to be happening on EDD payment history pages. I looked at the Groups code for the lines mentioned above and the code is a query to check if Groups handles the post type for the page.

    I looked in Groups options and the Downloads Post type was checked, so I unchecked that post type and saved the Options, purged the caches, and went back to my EDD Payment History page and the warnings were still there. Can you shed any light on why this is happening? Thank You!

Viewing 1 replies (of 1 total)
  • Thread Starter kallym

    (@kallym)

    I contacted EDD and here is there reply:

    This is a bug in the Groups plugin. For example, in the first error you mention they are doing the following:
    if ( !isset( $post_types_option[$post_type][‘add_meta_box’] ) || $post_types_option[$post_type][‘add_meta_box’] ) {

    They are checking for a post type that they do not have in their array of post types they control. There isn’t anything EDD can do to correct this.

    What can I do to prevent these warning messages?

Viewing 1 replies (of 1 total)
  • The topic ‘illegal offset type warnings after last update’ is closed to new replies.