Support » Plugin: Event Tickets » Fatal error: Uncaught Error: Call to a member function add_filter()

  • I’m getting a fatal error in my debug log:

    Oct 01, 08:39:43

    Fatal error: Uncaught Error: Call to a member function add_filter() on array in /home/public/sites/

    Stack Trace
    add_filter(‘locale’, Object(Closure))
    Tribe\Events\I18n->with_locale(‘en_US’, Array, Array)
    Tribe\Events\I18n->get_i18n_strings_for_domains(Array, Array, Array, 2)
    Tribe__Events__Rewrite->get_localized_bases(Array, Array)
    /home/public/sites/ in /home/public/sites/ on line 113

    Can you investigate what might be wrong here?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Sky Shabatura


    Hi there,

    Sorry to hear that you’re having issues with the plugins. I will try to help get this sorted.

    First, we did just release some updates to the Events Calendar plugin that include some fixes for translation related issues. The first entries in the stack trace you shared seem to be related to the translation process. I would try updating all of our plugins to the latest versions and see if this changes things.

    If not, can you try temporarily switching to the Twenty Twenty theme and disabling all other plugins besides the event/tickets, and see if you can still reproduce the issue?

    Finally, do you see any actual issues with the functionality on your site, aside from the error in the log? If so, can you describe how this is affecting your site?


    Hi Sky,

    Thanks for following up.

    All plugins are up to date, except for the Event Calendar where I had a fatal error with version 5.2.0 and did a rollback to 5.1.6. As the Event Calendar plugin is frequently updated I didn’t report the error, assuming that it would be caught and solved anyway.

    I tried to debug the issue in troubleshooting mode, but that didn’t work out; basically, my website became unworkable and hence I couldn’t find out if your plugin functionality was ok or not.

    As for issues with the functionality, I don’t see a possibility to go through the full ticketing process. The basic functions seem to work: The tickets part is there on the event and I’m able to select tickets and start the checkout on PayPal at I’m unsure what more to test?

    I’m aware that this doesn’t help you much. Apologies for that.

    Ben Linders

    Plugin Support Sky Shabatura


    Hi again,

    The Events Calendar version 5.2.0. is where the fix for the translation issues was. Are you using WMPL on your site? You can see the release notes here:

    I am able to click on the button on your site and get taken to the PayPal site, so things seem to be working on the front end.

    Do you see that error multiple times in the log? Do you have any idea what action might be related to the error? Can you compare the time of the error with the ticket purchases, or changes you may have made with the tickets in the admin?

    I would suggest posting about the Events Calendar related issues over on the .org forum for that plugin:


    Thanks Sky for following up.

    I’m seeing the error multiple times in the past two hours. I can’t relate it to any specific actions, certainly not ticket sales or page visits as those are less than the occurrence of this error.

    I’m not using WPML.

    And yes, the front end seems to be working. Still, there’s something that throws this error and seeing it happen so frequently I guess it makes sense for you to find out what causes it. Again my apologies that I don’t have more information.

    I have done the update to The Events Calendar version 5.2.0. Will monitor if the error with tickets remains.

    Ben Linders

    Update: Fatal error with event tickets still occurs after updating event calendar to 5.2.0.

    Plugin Support Jeremy


    Hi @benlinders,

    I’m sorry to hear you still have the same problem after updating The Events Calendar to 5.2.0.

    You said that tried to debug the issue in troubleshooting mode, but that didn’t work out. Could you try to test for conflict on a staging site instead? If your web host doesn’t have a staging site feature, you may use WP Staging, which is a free plugin:

    Do you have the same problem when using just Twenty Twenty, The Events Calendar and Event Tickets?

    Thanks, have a nice day!

    Apologies for not responding sooner. I’ve been discussing this same error with the Event Calendar plugin, unfortunately, no solution has been found yet as they cannot reproduce it:

    Maybe we should jointly work on this to find out what’s happening?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.