Home › Forums › Calendar Products › Events Calendar PRO › Error in Recurrence meta strings
- This topic has 8 replies, 3 voices, and was last updated 10 years, 4 months ago by
George.
-
AuthorPosts
-
November 3, 2015 at 9:19 am #1021339
Christal Glover
ParticipantI noticed the following error in our logs
Warning: sprintf(): Too few arguments in …/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence_Meta.php on line 1702
I’ve tracked it down to the string for ‘custom-monthly-on-diff-time’ being misformatted:
An event every %1$s month(s) on %2$s that begins at %3$s and lasts %4$s day(s) and %5$s hour(s), the last of which will begin on %7$s
The last substitution in the string is indexed with 7, but it should probably be 6. You can see the issues this causes in the admin and on the front end
I changed it to 6 and it fixed the issue in the admin but there’s still an issue on the front end. Many of the arguments passed into sprintf are null. See screen shots taken after changing the last substitution to %6$s
November 3, 2015 at 11:12 am #1021406George
ParticipantHey @Christal,
I’m sorry about these issues – I noticed in your “System Information” that you’re using Events Calendar Pro is at version 3.12.2. We’re currently at 3.12.5, and this error should be fixed in 3.12.5
If you update, does the issue persist?
Thanks!
GeorgeNovember 3, 2015 at 11:37 am #1021417Christal Glover
ParticipantGeorge,
I’ve updated to 3.12.5 and the problem persists
November 4, 2015 at 6:12 am #1021666Christal Glover
ParticipantNovember 4, 2015 at 3:12 pm #1021938George
ParticipantThank you for this @Christal!
We did fix this and for some reason didn’t package it correctly in the 3.12.5 fix, and will have it actually fixed in the next update. Really sorry about that! 🙁
November 18, 2015 at 11:51 am #1027661Gabe Frederito
ParticipantI am having this issue as well and running the latest version 3.12.6. Where can I get the fix or are we waiting for a new release?
http://kneedeepbrewing.com/tap-room/
Thanks
gabeNovember 18, 2015 at 12:01 pm #1027669George
ParticipantHey Gabe,
That is odd – I cannot recreate this issue. Hmmm…can you share your system information with us? Here’s how → https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Cheers,
GeorgeNovember 18, 2015 at 12:10 pm #1027672Gabe Frederito
ParticipantThis reply is private.
November 18, 2015 at 12:24 pm #1027687George
ParticipantThanks for sharing this information!
I don’t see anything outright problematic; I will take another look into our code to see about this – maybe the code-merge for this fix isn’t happening until the next release.
In that event, please stay tuned to releases because this is a ticketed bugfix that we have coming in the 4.0 release at the latest.
I’m sorry about the trouble here!
Cheers,
George -
AuthorPosts
- The topic ‘Error in Recurrence meta strings’ is closed to new replies.




