Error on forum pages
-
I just installed the plugin and I’m seeing the following error on all forum pages:
Warning: in_array() expects parameter 2 to be array, null given in /home/USER/public_html/DOMAIN.com/wp-content/themes/genesis/lib/functions/general.php on line 293
Looking at the file in question, this appears to be related to custom post types:
function genesis_has_post_type_archive_support( $post_type_name = '' ) { $post_type_name = genesis_get_global_post_type_name( $post_type_name ); return in_array( $post_type_name, genesis_get_cpt_archive_types_names() ) && post_type_supports( $post_type_name, 'genesis-cpt-archives-settings' ); }
Is this a Genesis 2.0 issue, or do I need to look for another cause? I saw another topic that mentioned some changes needed for HTML5 sites, so if that’s the case, I’ll be patient and wait for a plugin update.
Also, the Genesis author box and “Filed Under” are still showing on forum pages, so I’m wondering what I need to do about that.
https://www.ads-software.com/plugins/bbpress-genesis-extend/
- The topic ‘Error on forum pages’ is closed to new replies.