Home › Forums › Calendar Products › Events Calendar PRO › Warning: in_array() expects parameter 2 to be array
- This topic has 7 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 27, 2013 at 9:00 am #57442
Matt
ParticipantI’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.
July 29, 2013 at 5:34 pm #57677Neill
MemberHi 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
NeillJuly 30, 2013 at 10:39 am #57803Neill
MemberHey 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
August 6, 2013 at 9:14 am #59086Matt
ParticipantH 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.)
August 6, 2013 at 4:14 pm #59187Neill
MemberHi 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
August 7, 2013 at 8:24 am #59280Matt
ParticipantYou are correct. I have enabled only list view. Month view makes the funky stuff appear.
August 8, 2013 at 1:40 pm #59545Neill
MemberGreat to hear. Thanks Matt. I’ll close this thread out, but feel free to open up a new thread with any new issues.
Neill
July 7, 2015 at 6:27 am #979806Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Warning: in_array() expects parameter 2 to be array’ is closed to new replies.
