Warning: in_array() [function.in-array]: Wrong datatype for second argument

Home Forums Calendar Products Events Calendar PRO Warning: in_array() [function.in-array]: Wrong datatype for second argument

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #58296
    Scott Stadler
    Participant

    Just started getting this error on default Month view of Calendar. Has been fine throughout development for several weeks, just started seeing this error now. Please help!

    #58928
    Barry
    Member

    Hi Visule – sorry for the delay.

    Can you confirm if you’ve applied our latest updates (and are still seeing this) and if you have also tried using a default, unmodified theme (if so does the problem still persist at that point)?

    Thanks!

    #59396
    Glen Draeger
    Participant

    I am having this same problem. In my case it is definitely the WordPress Genesis theme that is the issue. This is the full warning I am getting:
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/tennisct/public_html/wp-content/themes/genesis/lib/functions/general.php on line 293

    #59397
    Glen Draeger
    Participant

    This happened today after upgrading to 3.x versions….

    #59399
    Glen Draeger
    Participant

    Genesis just upgraded to 2.0, so I suppose it could also be tied to the newer version of Genesis.

    #59404
    Glen Draeger
    Participant

    Turned on debug mode and got this additional error:
    Notice: Undefined variable: post_type_names in /home/tennisct/public_html/wp-content/themes/genesis/lib/functions/general.php on line 273
    Only on the calendar page….

    #59420
    Barry
    Member

    Hi Glen,

    I hate to be a pain and we’d be more than happy to look into this – but can you post this as a new thread (since your problem may by the sounds of it be specific to Genesis 2.0 and so potentially different to what visule is experiencing).

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Warning: in_array() [function.in-array]: Wrong datatype for second argument’ is closed to new replies.