Home › Forums › Calendar Products › Events Calendar PRO › Errors after update
- This topic has 15 replies, 3 voices, and was last updated 9 years ago by
mgmg.
-
AuthorPosts
-
February 24, 2017 at 8:03 am #1245223
mgmg
ParticipantHi
I’m hoping you can help with some errors that have occurred today just
after updating the events calendar plugins1. Events cal column showing misaligned months instead of days (also css
for cal page icon looks wrong):2. Map missing:
http://www.kids.nyc/event/kids-week-at-the-intrepid-museum/
Appreciate any help.
February 25, 2017 at 2:18 pm #1245934mgmg
ParticipantAnyone else having this same problem? Or know of a fix?
February 27, 2017 at 7:50 pm #1246616Zach Tirrell
KeymasterHello!
Looking at your calendar widget, it looks like you are getting month name abbreviations instead of the day abbreviations. This in turn is throwing off the overall appearance of that widget. This is not default behavior and I just confirmed on my local install that it is not currently appearing this way for me. Is it possible that you are running a customization of some sort? You can test for conflicts by walking through our Testing for conflicts guide. Typically this is easiest if you have a test or staging site.
Let us know how the conflict testing goes and hopefully that reveals the crux of this issue.
I also took a quick look at the page you linked that was having map issues. I am seeing a Google Map there now. Is it possible that you already resolved this problem? If so, great!
March 12, 2017 at 3:53 pm #1253131mgmg
ParticipantYes so when I switch to the 2017 theme the Days are showing and not the months… All was fine though with the old theme. Do you know what might be switching months in for $day??
Where would the theme be creating this variable and using the wrong definitions… so weird…
Thanks for any guidance.
March 12, 2017 at 4:07 pm #1253133mgmg
ParticipantI can manually fix the days by using this:
<!– comment out foreach start –>
<?php //foreach($days_of_week as $day) : ?>
<!– <th class=”tribe-mini-calendar-dayofweek”><?php echo $day ?></th> –><!– Added the following to fix days –>
<th class=”tribe-mini-calendar-dayofweek”>M</th>
<th class=”tribe-mini-calendar-dayofweek”>T</th>
<th class=”tribe-mini-calendar-dayofweek”>W</th>
<th class=”tribe-mini-calendar-dayofweek”>T</th>
<th class=”tribe-mini-calendar-dayofweek”>F</th>
<th class=”tribe-mini-calendar-dayofweek”>S</th>
<th class=”tribe-mini-calendar-dayofweek”>S</th><!– comment out foreach end –>
<?php //endforeach; ?>But I also have issues with the link images to previous month and next month, either side of where it says March at the top of the mini calendar in the sidebar… (links not working)
<?php tribe_events_the_mini_calendar_prev_link() ?>
<span id=”tribe-mini-calendar-month”><?php tribe_events_the_mini_calendar_title() ?></span>
<?php tribe_events_the_mini_calendar_next_link() ?>All the issues seem to be coming from the mini cal not the main events plugin.
March 12, 2017 at 4:29 pm #1253137mgmg
ParticipantI have been searching the web and others are having similar problems:
tribe_events_get_days_of_week returns months, not days of week
It seems that this is an error and if so please can you provide the updates. For someone like me who isn’t great with code, I can do the manual updates, but then the auto update happens and sometimes causes other errors, so it’s better if you guys fix your errors so my fixes don’t complicate things…
March 12, 2017 at 4:31 pm #1253139mgmg
ParticipantAlso please don’t forget my other issue:
But I also have issues with the link images to previous month and next month, either side of where it says March at the top of the mini calendar in the sidebar… (links not working)
<?php tribe_events_the_mini_calendar_prev_link() ?>
<span id=”tribe-mini-calendar-month”><?php tribe_events_the_mini_calendar_title() ?></span>
<?php tribe_events_the_mini_calendar_next_link() ?>All the issues seem to be coming from the mini cal not the main events plugin.
March 12, 2017 at 4:44 pm #1253141mgmg
ParticipantI think you should also update this thread: https://theeventscalendar.com/support/forums/topic/months-are-displaying-instead-of-days-in-calendar/
It isn’t custom code but the following error with Tribe code:
The bug is located in …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.phpon line 2177 $this->daysOfWeekShort = Tribe__Date_Utils::get_localized_months_short();
This should reference days of weekdays, not months.
Still need my previous and next links issues solving as described above.
March 14, 2017 at 5:43 am #1253730mgmg
ParticipantPlease can you advise about the update and a fix for my other issue “<<” and “>>” links not working on the mini calendar, plus Google Maps still are not showing.
March 15, 2017 at 1:21 pm #1254714mgmg
ParticipantAny update on this? Appreciate your help.
March 18, 2017 at 9:03 am #1256281mgmg
ParticipantReally would appreciate your help in what seems to be a bug. It’s been almost 3 weeks since your reply and when I email I’m told to leave a message in your support forum… but no response here 🙁
March 20, 2017 at 6:15 pm #1256983Hunter
ModeratorHi and thank you for your patience. I’ll be handling this thread from here on out. In response to your initial issue, it might be best to review the Testing for conflicts guide to locate the specific source(s) of conflict.
Also, after we ship a feature or maintenance release, we try to clue users in to things they should look for by providing useful data in Events > Help > Recent Template Changes. If you navigate there, you should see a list of recently updated templates (which changes each release).
I located a bug report attached to this forum thread you shared with me: https://wordpress.org/support/topic/4-4-0-1-tribe_events_get_days_of_week-returns-months-not-days-of-week/
In the report notes, it states,:
To test this, I just modified /wp-content/plugins/the-events-calendar/src/views/month/loop-grid.php from
$days_of_week = tribe_events_get_days_of_week();to
$days_of_week = tribe_events_get_days_of_week( 'short' );
var_dump($days_of_week);I’m not sure if that helps and I don’t see any temporary workarounds in the report. I’ve added this forum thread to the ticket which helps expedite the process of getting a fix included in an upcoming release. I don’t have a precise date when it will be available, but please stay tuned to our Release Notes and the plugin changelogs for more information.
I checked a single event on your site and the Google Map displayed. Are you still having issues there? If possible, include the issues you’re still experiencing in a list-style format and your System Information as a private reply.
Thanks again and let me know if you’ve got any additional questions or comments. Cheers!
March 20, 2017 at 7:17 pm #1256993mgmg
ParticipantThanks for your reply.
In terms of the days/months mixup, after I cound this: $this->daysOfWeekShort = Tribe__Date_Utils::get_localized_months_short(); which seems incorrect in the /plugins/the-events-calendar/src/Tribe/Main.php file I just updated it (replacing months with days) and it works.
But maybe this should be updated in your files so when people download and update they have the correct code.
I just checked the map issue and it looks like the map is now showing… really weird – I didn’t make any changes but it’s now back so I’m happy.
The one remaining error is the << and >> links in the mini cal widget, they link to [website].com/# and they don’t operate to show the previous and future months.
Do you have any idea about this?
March 21, 2017 at 12:17 pm #1257510Hunter
ModeratorWelcome back,
The devs review each forum topic associated with bug reports, so we appreciate your input on the matter and rest assured a fix will be included in an upcoming maintenance release.
I just checked the map issue and it looks like the map is now showing… really weird – I didn’t make any changes but it’s now back so I’m happy.
Great! If you run into any more issues with the map, make sure you have your API key set up properly. Instructions are in our Setting Up Your Google Maps API Key tutorial. You can also spot errors which might lead to more info by using your ‘Inspect’ tool on pages the map isn’t displaying on. Review our Using Google Chrome Developer Tools tutorial. This Customizing WordPress #2 – Using Chrome Developers Tools YouTube video is also really helpful.
The one remaining error is the << and >> links in the mini cal widget, they link to [website].com/# and they don’t operate to show the previous and future months.
Does this happen with the default theme and only our plugins active? Do any errors show when you set WP_DEBUG to “true” on your site’s wp-config.php file? Do you notice any errors in the browser console by using the ‘Inspect’ element? Lastly, to better help me understand the issue, can you provide exact step-by-step instructions on how to reproduce the behavior? Screenshots and/or screencasts are always helpful. I checked our logged bug reports for anything resembling what you’ve shared with me but I’m not finding anything at this time.
Please check out these helpful resources which might help make your life a little easier:
• https://theeventscalendar.com/favorite-developer-plugins/
• https://theeventscalendar.com/wordpress-web-developer-extensions/
• https://theeventscalendar.com/extensions/
• https://theeventscalendar.com/knowledgebase/how-to-install-an-extension/Once I have more information I’ll have a better idea on how to proceed, so let me know what you find out and enjoy the rest of your day. Take care 🙂
April 12, 2017 at 9:35 am #1268913Support 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 ‘Errors after update’ is closed to new replies.
