Warning: in_array() expects parameter 2 to be array

Home Forums Calendar Products Events Calendar PRO Warning: in_array() expects parameter 2 to be array

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #57442
    Matt
    Participant

    I’ve seen the old/closed discussions of this issue. Sorry, but it’s showing up when I go to monthly view in ECP 3.0.4. Any advice?

    It just started, so it seems like something in the newest update, right? Can I go backwards? I wasn’t having any other issues.

    #57677
    Neill
    Member

    Hi Matt,

    Thanks for the comment. So far, from what I can see, the team believed the update to 3.0 solved this issue. I see from all the dev notes that this was specifically tested for but we couldn’t replicate it. So if you have any info you can give us I think it would be very valuable.

    At the end of this thread Barry was looking for a DB dump to see if we could replicate the same environment on our end( https://theeventscalendar.com/support/forums/topic/venu-view/#post-30621). I’m going to touch base with Barry and see if this is still a good route.

    In the mean time if you really need to downgrade to get rid of the issue I completely understand, but again let me touch base with Barry and see if he had any idea about a workaround, so that we can keep you on 3.0. If not I’ll work with you to get you back to a 2.0 build.

    Thank you for your patience with this and I’ll get back to you tomorrow with some more info.

    Thanks
    Neill

    #57803
    Neill
    Member

    Hey Matt,

    As some supplementary info, could you let us know if there is anymore to the error that you are getting. Does the warning specify a template? or a line number?

    You mentioned also that this was an update, have you made any customizations to the templates in previous builds?

    Any other information you can give us would be great to, try to think about customizations you may have done or settings you may have changes?

    Neill

    #59086
    Matt
    Participant

    H guys thanks for your response.

    Here’s the full error message:
    Warning: in_array() expects parameter 2 to be array, null given in /home/avltheat/public_html/wp-content/themes/genesis/lib/functions/general.php on line 275
    (That repeats 7 times.)
    Then after the “Events for August 2013″ header it says:
    Warning: in_array() expects parameter 2 to be array, null given in /home/avltheat/public_html/wp-content/themes/genesis/lib/functions/general.php on line 275
    data-title=” ” data-view=”month” data-date=”2013-08″ data-baseurl=”http://avltheatre.com/events/month/”>

    I’ve made no customization to the events templates.

    Also, to clarify, I was already using Events Calendar Pro 3 before, not version 2, and yes, everything was totally fine. It was just the latest updates to the version 3 plugins that seemingly created this issue. (Events Calednar 3.0.3 and Pro 3.0.5.)

    #59187
    Neill
    Member

    Hi Matt,

    It looks like you don’t have you month view turned on at the moment, which I assume is on purpose since this error is rearing its ugly head. Can I just confirm that is the case? What view do you have selected in Events > Settings > Display.

    In the off chance that was not you intention, what was the result when you added month to the list and checked the site?

    Neill

    #59280
    Matt
    Participant

    You are correct. I have enabled only list view. Month view makes the funky stuff appear.

    #59545
    Neill
    Member

    Great to hear. Thanks Matt. I’ll close this thread out, but feel free to open up a new thread with any new issues.

    Neill

    #979806
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Warning: in_array() expects parameter 2 to be array’ is closed to new replies.