Get A Warning: in_array() [function.in-array]:
-
Hi,
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.
- The topic ‘Get A Warning: in_array() [function.in-array]:’ is closed to new replies.