Home › Forums › Calendar Products › Events Calendar PRO › PHP Fatal Error Class Tribe__Notice not found
- This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by George.
-
AuthorPosts
-
January 12, 2016 at 9:07 am #1054678SaraParticipant
src/Tribe/Templates/Map.php triggers this fatal error when you are viewing map view, then search “near” a state. Typing in the state doesn’t pull up a list of suggestions, but after hitting enter, the dropdown list appears with suggestions, select “State, USA”
My investigation reveals that this particular ajax_response() function is using class name Tribe__Notice when you have the class defined as Tribe__Notices. I can reproduce this problem on your DEMO site too, just gotta find a location where you don’t have demo event data (like Brisbane QLD, Australia)
Unrelated, but you also define the Tribe__Notices class twice. Once in the-event-calendar and again in event-tickets plugins. Not sure if the consequences of that has been accounted for.
I’m obviously just gonna patch my install up – but rather surprised this hasn’t ever been noticed before
January 12, 2016 at 11:10 am #1054755GeorgeParticipantHey @Sara,
This is some odd behavior for sure – can you share your system information with us so we can investigate and confirm your findings? Here’s how to do that → https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Cheers,
GeorgeJanuary 12, 2016 at 11:42 am #1054775SaraParticipantThere’s no need for that, no.
Just investigate by looking at this in your code:
events-calendar-pro/src/Tribe/Templates/Map.php
lines 93 95 97(latest version of course)
January 12, 2016 at 1:12 pm #1054831GeorgeParticipantWell, thank you for sharing your bug report nonetheless here. I will close up the thread since there is no immediate action that can be taken here, but please stay tuned to the next few plugin releases. These are relatively simple changes and I will ticket this bug so that our developers can properly fix them.
Thank you for reporting this!
Best of luck with your project,
George -
AuthorPosts
- The topic ‘PHP Fatal Error Class Tribe__Notice not found’ is closed to new replies.