You would need to contact the news seo support team as this is a paid plugin.
I have this issue too. I logged it first with Yoast, the developers of the SEO plugins and their reply was that as it is a bbPress error, it would need to be addressed through bbPress…
Have you had any success either way?
Thanks!
I will contact the plugin devs to see if this is a bug in bbPress.
If there is , I will most likely create a trac ticket on it.
Looks like it is a bug, can I get you both @matthewstephens and @jethron5000 to list the versions of the plugins you are using, i.e. What version of bbPress? What version of News SEO?
Hi Stephen,
here are my versions:
BBPress: Version 2.5.7
News SEO: Version 2.2.5
Hi Stephen,
Bbpress: 2.5.7
News SEO: 2.2.5
Thanks Stephen,
Matt
Hi Stephen, any developments on this bug please??
Thanks
Matt
Hi i want to know answers too!
Hi Stephen, It has been some time now, are you investigating this “bug” please? Thanks
did the issue just occur in the 2.2.5 version of News SEO, or was there always an issue?
bbPress’s last update was in April and News SEO updated to 2.2.5 I think last month.
I am just wondering where the issue might have occurred to narrow down where it is being caused.
Thanks for your reply! To my knowledge it has been an issue prior to the 2.2.5 upgrade.
And the error is exactly like what is in this image??
Right click show image in new tab.
Here is an example of the errors reported by WPEngine:
[data removed]
Yeah it is basically the same.
Also if you want me to remove the error that you posted in your reply just give me the ok.
Thanks @robkk, yes please remove the error – thanks!
There seems to be users that have gotten the same error.
Fresh install, php warning on all pages in site
A user listed a fix to surround an attribute with an array()
, which I did test and it does seem to hide the error.
Might need some second thoughts from Stephen though.
Apologies all, this is not a bbPress issue, when bbPress is activated without any other plugins there are no notices, the notices only appear once activating both Yoasts’ WordPress SEO and News SEO plugins.
If you comment out this out of the News SEO plugin file class-meta-box.php
add_filter( 'add_extra_wpseo_meta_fields', array( $this, 'add_meta_fields_to_wpseo_meta' ) );
In the News SEO plugin the issue is resolved and no notices are displayed.
It appears to be related to pre_get_posts
being used in WordPress SEO by Yoast, this was picked up in the WordPress Core ticket https://core.trac.wordpress.org/ticket/31231
Thanks for all that info Stephen!
Is there any reason not to use the solution of just wrapping that argument in an array()? It does seem to solve the problem without having to remove functionality from the News SEO plugin.
It is not a solution, therefore will not solve the problem and could introduce all kinds of of other problems in any or all of the 3 plugins.
Is there any solution to work this 2 plugins ? Maybe plugin organizer can help with this ?
Sounds like this is a plugin conflict. Masking the issue as you mention would not resolve it and potentially create further more serious issues. Given these are two pretty widely installed and reputable plugins, would it not be sensible for bbPress and Yoast to get together and resolve the issue properly please? Otherwise, one or the other will have to go. Thanks.
I just got this issue but it only occurred when upgrading a site to PHP 5.6(previously on 5.4).
Warning: in_array() expects parameter 2 to be array, null given in /home2/tabbangy/public_html/tabban/wp-content/plugins/bbpress/includes/common/functions.php on line 1446
I did have Yoast SEO installed but on deactivation the error still persists ( i don’t have NEWS SEO).
Reverting back to 5.4 clears the error.