Home › Forums › Calendar Products › Events Calendar PRO › PHP Error – explode() expects parameter 2 to be string, array given
- This topic has 8 replies, 5 voices, and was last updated 8 years, 8 months ago by
Support Droid.
-
AuthorPosts
-
February 9, 2017 at 2:09 pm #1232382
Danial Bleile
ParticipantI’ve written up a full technical explanation here as GitHub has better support for code snippets. https://gist.github.com/jeremyfelt/6f1a5b0e684668b9a389cdb1b6a9a563
This is a duplicate of https://theeventscalendar.com/support/forums/topic/error-in-the-logfile/, but I was not able to add a reply there.
A change in Events Calendar 4.4.1 is causing this PHP error message to appear on events that do not have what appears to be a newer data structure containing recurrence meta.
I’m not sure if the approach in my gist is the appropriate one, but it’s the one I’m deploying as a hotfix now in our production environment.
February 10, 2017 at 10:16 am #1232978George
ParticipantThanks for reporting this, Jeremy!
I have reported this to our development team and, while it is Friday right now and so a reply may be a bit slow, I will keep you posted about what they say about this and what our plans are for addressing it.
Stay tuned to this thread for those updates, and please let me know if there are any other issues or questions I can try to help with in the meantime.
Sincerely,
GeorgeFebruary 10, 2017 at 4:04 pm #1233142Brook
ParticipantThank you for isolating this and documenting it Jeremy. This is extremely helpful! As a token of thanks I just extended your agency license by a couple of months.
We are going to craft in a fix modeled after your idea as soon as we can. If I have some extra time this next week, I will even sneak it into our very next release. But, you know how life goes, it might take a little longer than that.
Thanks again!
– Brook
February 14, 2017 at 11:52 am #1234765Danial Bleile
ParticipantSounds good, thanks George and Brook.
February 15, 2017 at 9:23 am #1235673George
Participant😀
March 9, 2017 at 8:35 am #1251795Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support TeamJuly 10, 2017 at 9:29 am #1318481Brook
ParticipantHowdy again Jeremy,
We accidentally logged two tickets for this bug. Your topic here was associated with the duplicate, and so you did not get notified when we fixed this issue a while back. I am very sorry for the delay.
I wanted to confirm with you that you are no longer facing and problems from this. We included an update mechanism in a prior maintenance release. So, if you are running the latest versions of Pro you should be able to import recurrences rules from older versions with no problems. It sounds like you were already able to update all of your old recurrence rules and are not waiting on us. But, if for some reason you are still facing problems please reach out and let us know.
Cheers!
– Brook
August 1, 2017 at 9:35 am #1328829Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘PHP Error – explode() expects parameter 2 to be string, array given’ is closed to new replies.
