Events for Feb show up in Widget but not main Calendar
-
My client has entered events for a few months. Events for Feb show up fine in the side Widget but are nowhere to be seen on the main Calendar page. All other monthly events show up fine. What gives?
Site is:
https://westendcivicassociation.com/wordpress/Calendar page is:
https://westendcivicassociation.com/wordpress/?post_type=tribe_events
-
Our website is having this issue as well. Our site is https://www.csrisingprofessionals.com/
This is the calendar page for January. As you can see the bottom options are December and March…No February.
– https://www.csrisingprofessionals.com/events-calendar/2014-01/If I go to the March calendar of events then going back to February is an option.
Here is what February is supposed to look like – https://www.csrisingprofessionals.com/events-calendar/2014-02/
I would love to have this fixed as I have had a ton of members letting me know they cannot see February and I have the Chair of our organization very concerned.
Thank you.
I’ve send the email to support groop and as I understand the only way to resolve the problem to buy a license…
Courtney
How did you do it without loosing the entries?
two years ago user get the same problems with february and wrote that “This was resolved by uninstalling and reinstalling the plugin” I’ve done it, but it doesn’t help. I din’t loose anything.
Hey all – I think I had the same problem. In the interim of them fixing the issue, find one of the “missing” events in the admin area, unpublish it (events will re-appear correctly), and then republish it. Worked for me…
????!!!! hahahaha THANKS ilonalipatova ! you give the correct pointer! ??
So, this problem also appear 2 years ago (and may be last year) ? And in January… Also February was missing??? What specific to February? Hein??? 28 days! And bye the way, look when all problem start… The 29 of January! OK OK OK… Have a look to the code and TEC uses massively strtotime()… Google for strtotime and february and you understood there are lots of issues around this couple, but all well documented & known : https://php.net/manual/en/function.strtotime.php or follow this thread https://bugs.php.net/bug.php?id=49115. The resume could be :
date() is doing what it is supposed to. You are passing it a timestamp in March.
strtotime() returns a timestamp in March because you have not been specific enough. When you just give it a month and nothing else, it makes some assumptions. For example, it takes the current year and the current date. So, you are asking strtotime for February 30, 2009 which actually doesn’t exist since February doesn’t have 30 days, so it gives you the closest match which is March 2nd.
Not a bug. You just have to be more explicit. Like “February 1”
So guys, code review you here! Hapy week! ?? In the mean time, you have a year to do it ??
As a proof of concept, I quickly modified lib/template-class/month.php line 201:
public function setup_view() { $requested_date = isset( self::$args['eventDate'] ) ? self::$args['eventDate'] : tribe_get_month_view_date(); $first_day_of_month = date( 'Y-m-01', strtotime( $requested_date ) ); $my_date = date( 'm' ); if ( $my_date == '01' && $requested_date == '2014-02' ) { $first_day_of_month = date( 'Y-02-01', strtotime( $requested_date ) ); }
And it did the trick for the content (and yes, my server was still 31 of Jan).
At the time I’m finishing this answer, my server move to Fev 1, and all Feb came back! Nav to past / future is OK (clean your cache ;)).
BR – Good WE – And for the English, happy crunch! ??
Yes! Feb events came back at 1 of Feb. I hope the plugin author remove the problem once and for all! if no, see your all again over the year!
Thanks everyone.
There are a lot of voices in here and that makes it difficult to assess what are potentially different problems (or, have potentially different causes). Please do take heed of the guidelines provided in the forum welcome:
Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread. Start your own topic.
In Courtney’s case she solved this by updating to the latest version of our plugin – I urge everyone else to do the same as in looking at some of the URLs that have been shared a number of you are a few versions behind (Shellysik looks like you are using The Events Calendar 3.1, for instance, and dandic2342 it looks like you are still on 3.2).
You are welcome to use older versions if there is some reason you need to do so – but please note you will consequently be subject to any bugs that have since been fixed.
What this does demonstrate though is that the conditions in which this is occurring are different for everyone. With that in mind, it’s just not feasible for us to try and help you all individually in this thread – I hope that’s understandable and I’d add that this echoes the sentiments of the forum guidelines. So, unless you are the original poster – please go ahead and create new threads of your own if you still require help.
Last but not least, I would like to address a couple of points raised by different users in here in order to give our own take on things.
Yes, very disappointed user, if that care for you… And yes, I know you are only pooling this support’s thread every Wednedays… So what??? Wait next Wednesday, so in February, and see if “problems” will be solved… So what? Wait, and see??? Cross the fingers??? Hum…
Too bad, as I really appreciated the basis, concept, doc, extension… But at some point, basis also need to work!
So my question… do you master what you are doing?
We’re sorry you are disappointed. Genuinely.
Unfortunately you have to understand that this is a free plugin and this is the free support forum. We’d love to have the resources to provide unbounded support here – but sadly that isn’t the reality.
The basics definitely do need to work, but I hope you also note that there are many users using the latest version of our plugin who were not affected by this (and were not in the days at the end of January, either).
All in all – yes – we try hard to master what we are doing, but mistakes can happen and there are many variables to account for “in the wild”.
I’ve send the email to support groop and as I understand the only way to resolve the problem to buy a license…
That is simply untrue.
You do not need to buy a license and when we detect (and fix) a bug in core, all users – both free and paying – benefit.
If you can provide me with any details about when you emailed and when you received a reply I will certainly look into it and check what you were told was accurate.
If I upgrade. Do I lose the events records? How do I stop that from happening?
You should not lose any event data.
However – it is always a sensible precaution to backup (and to make yourself familiar with the process for restoring the backup).
@barry – thanks for the answer, all’s back to “normal”… So per magic if I read you correctly? … ?? all start the 29th of January, and stop the 1st of Feb? All as per magic? … Thanks, and see you next year;) or review your code!
Have a good week.
Have a good week too, Franck160 ??
- The topic ‘Events for Feb show up in Widget but not main Calendar’ is closed to new replies.