Ive got this error code in my head section, anyone know how to fix
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/webfire/public_html/wp-content/plugins/gantry/core/rules/facttypes/taxonomy.class.php on line 32
thanks in advance
https://webfirethemes.com
I get a message warning on my website. It informs:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in themes/customizr/parts/class-content-gallery.php on line 25
Could you please advice what should I do?
In the box, the code:
function tc_fancybox_gallery_filter( $output, $attr) {
tc__f(‘rec’ , __FILE__ , __FUNCTION__, __CLASS__ );
//add a filter for link markup
//add_filter( ‘wp_get_attachment_link’, array($this, ‘tc_modify_attachment_link’) , 20, 6 );
//COPY OF WP FUNCTION IN media.php
$post = get_post();
static $instance = 0;
$instance++;
I’m a newbie and confuse what should I do.
Please your advice, Thanks.
]]>Warning: in_array() [function.in-array]: Wrong datatype for second argument in /hermes/waloraweb019/b1467/moo.momsinlebanoncom/momsme.net/wp-content/plugins/bbpress/includes/common/functions.php on line 1199
No idea how to fix this. Can you help?
]]>Warning: in_array() [function.in-array]: Wrong datatype for second argument in /wp-includes/post-template.php on line 1039
You can see it here : https://nickko.be/comment-subscriptions/?srp=498
https://www.ads-software.com/extend/plugins/subscribe-to-comments-reloaded/
]]>Warning: in_array() [function.in-array]: Wrong datatype for second argument in /MYBLOG/wp-content/plugins/retain-author/retainauthor.php on line 92
https://www.ads-software.com/extend/plugins/retain-author/
]]>After upgrading to the latest version of wordpress to 3.4.2, and updating my plugins – I started to get this error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/rfouts/public_html/wp-includes/class.wp-dependencies.php on line 213
]]>what should i edit in this?:
$LOGIN_INFORMATION = array(
‘you’ => ‘MainPass or SECONDWORD’
);
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/peatblog/public_html/wp-includes/query.php on line 2302
Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/peatblog/public_html/wp-includes/query.php on line 2318
Warning: implode() [function.implode]: Bad arguments. in /home/peatblog/public_html/wp-includes/query.php on line 2318
The section in query.php that these errors refer to is this (I have indicated the lines the errors refer to):
// Put sticky posts at the top of the posts array
Line 2302: for ( $i = 0; $i < $num_posts; $i++ ) {
if ( in_array($this->posts[$i]->ID,
// Fetch sticky posts that weren't in the query results
if ( !empty($sticky_posts) ) {
Line 2318: $stickies__in = implode(',', array_map( 'absint', $sticky_posts ));
Has naybody come across these errors and know how to resolve them.
Thank you in advance.
]]>