Jump to content
Sign in to follow this  
basmati

Error using Searchfield

Recommended Posts

basmati

Since using the WP Plugin "dynamic subpages" WP Plugin Dynamic Subpages, everytime i use the Platform searchfunction it outputs an Errorcode in the sidebar:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /xy/path/12345678/xx/yyyyyy/wp-content/plugins/dynamic-subpages/dynamic-subpages.php on line 91
only on pages with the dynamic subpages widget. I found on line 91:
(in_array($page->ID,$ancestors)???™ current-page-ancestor

but i have no idea what causes the Error. Any ideas to that phenomenon?

Share this post


Link to post
Share on other sites
Andrew

That's something to do with the plugin.. (wrong usage of the in_array function) I'd check with the plugin provider about it :)

Share this post


Link to post
Share on other sites
basmati

ok, thanks, i just wanted to make shure its a problem with the plugin - i'll post a solution later ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×