Forum Replies Created
-
AuthorPosts
-
KevinParticipant
Hey Victor and Benjamin,
The latest TEC updates resolved the issue!
Happy holidays,
KevinKevinParticipantThanks, Courtney! I tested the updates yesterday and pushed to production. Please feel free to close out this ticket.
Happy holidays,
KevinKevinParticipantHi Patricia,
We’re experiencing the same problem. I have
define( 'WP_DEBUG', false );
on my production site but the error messages still display in the month view.That line of code hides the notices for another bug, which is highlighted in this post: https://theeventscalendar.com/support/forums/topic/notice-trying-to-get-property-of-non-object/
Perhaps that line of code only hides notices and not warnings?
KevinParticipantHere’s something that may be helpful in diagnosing what is causing the issue: the number of notices is equal to the number of Event Categories with parents.
Please let me know if there’s additional information I can provide. Thank you.
October 31, 2017 at 12:55 pm in reply to: Category archive – Notice: Trying to get property of non-object #1372447KevinParticipantHi Barry and Charles,
I saw the following line in the release notes for the latest version of TEC (4.6.2):
“Tweak – Avoid notice level errors when a non-existent category archive is requested (our thanks to Charles Simmons for highlighting this)”
After updating the plugin, the error message has disappeared from my beta site. Thanks for your work on this.
Best,
KevinOctober 12, 2017 at 2:23 pm in reply to: Category archive – Notice: Trying to get property of non-object #1362913KevinParticipantBarry,
Thanks so much for your attention on this. I’ve hidden the error message in production using the method you provided. Please keep us updated on the fix.
Best,
KevinOctober 12, 2017 at 12:15 pm in reply to: Category archive – Notice: Trying to get property of non-object #1362854KevinParticipantHi Barry, we are having a similar issue. For us, the error message displays for categories with hyphens in the slug. Categories without hyphens do not display the error message. I also wanted to note that we can view the events despite the error message, and that all of the categories we’ve tested still exist. I’ve included our error message below:
Notice: Trying to get property of non-object in XXX/wp-content/plugins/the-events-calendar/src/functions/template-tags/general.php on line 663 data-title="Upcoming Events – XXX" data-startofweek="0" data-view="list" data-baseurl="http://XXX/events/list/" data-mobilebreak="782" data-default-mobile-view="list" data-default-view="list">
Thanks for any guidance you can provide.
January 27, 2015 at 10:59 am in reply to: Post 3.91 update: Empty Event Categories showing error #938207KevinParticipantThis reply is private.
KevinParticipantJosh, after extensively testing on multiple computers and browsers this does seem to be a caching issue! Thank you. The icon is still incorrect and that occurred with the 3.8 update on the Filterbar. Any chance that can be fixed?
KevinParticipantBrian,
Thank you for your sleuthing! We will look forward to seeing this resolved on the release in the next few weeks and then move the 3.8 update on to production.
-Erin
KevinParticipantBrian,
Thank you for the quick response. I should have included that I’m testing on our beta.sfbike.org, which is our protocol for plugin updates just in case they break something! Please see the error here: http://beta.sfbike.org/event/volunteer-night/2014-10-08/
KevinParticipantHi! I’m having this problem, too. Here’s the notice text: Notice: tribe_get_events was called with an argument that is deprecated since version 3.8! Setting eventDisplay to ‘upcoming’ is deprecated. Please use ‘list’ instead. in /nfs/c04/h01/mnt/69205/domains/beta.sfbike.org/html/wp-includes/functions.php on line 3318
We have replaced “upcoming” with “list” within the 2 files it was referenced (that we found) and while that fixed the way the upcoming events were being displayed there (side-bar widgets), the notice is still on our single-event view (ie. http://beta.sfbike.org/event/bicycle-advisory-committee-meeting-8/).
What are we missing?
Thanks!
KevinParticipantThanks for checking in. We haven’t tested the solution you proposed yet but I appreciate your response. You can close this and if something comes up when we try it I will repost. Thanks!
KevinParticipantAdditionally, I realize it would also be great to get this Additional Field to display where the Cost field displays in the actual Event page itself too. Basically, we want the Additional Field “Register” to display as a Hyperlink where the Cost field displays. I assume this means changing the PHP templates to reflect grabbing the additional field wherever the Cost field is grabbed but could use your guidance before starting to go into the PHP.
April 23, 2014 at 6:41 am in reply to: Switching between Month, List, and Photo view has bugs #140330KevinParticipantHi, haven’t heard back on this. Has your team been able to look into this issue and resolve what’s going on? Please let me know.
-
AuthorPosts