BenLinders
Forum Replies Created
-
Thanks, much appreciated!
Forum: Plugins
In reply to: [Mooberry Book Manager] Using wpseo_opengraph which is deprecatedThank you!
This one https://wordpress.org/plugins/amp/
Forum: Plugins
In reply to: [Premmerce SEO for WooCommerce] Use of wpseo_opengraph is deprecatedHello, can you help me with this?
Forum: Plugins
In reply to: [The Events Calendar] Uncaught Error: Call to a member function add_filter()Hi Jamie,
Thanks for following up. I’ve just send an email with the information. Hope that helps.
Ben Linders
Forum: Plugins
In reply to: [The Events Calendar] Uncaught Error: Call to a member function add_filter()Hi Jaime,
When using the health check plugin, my website remains the same for outside usesrs. Their usage will probably trigger the error so it will still appear in the log, afaik there’s no separate log for the trouble shooting site and even then it would be hard to prove absence of an error if I don’t know what usage provoces it?
Any idea what can cause the error? Anything I should try out or see? When is the code that raises the error execusted, what functionality does it provide?
Happy to email you the system information, but I’d rather not post it publically.
Ben Linders
Forum: Plugins
In reply to: [The Events Calendar] Uncaught Error: Call to a member function add_filter()Thans for following up.
I’ve enabled sharing system information with you.
I don’t have a staging website/plugin so I can’t do a bare install.
The error is still occuring, here’s how it showed up this morning:
[16-Oct-2020 08:26:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_filter() on array in /home/public/sites/www.benlinders.com/wp-includes/plugin.php:113
Stack trace:
#0 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php(184): add_filter(‘locale’, Object(Closure))
#1 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-calendar/src/Tribe/I18n.php(138): Tribe\Events\I18n->with_locale(‘en_US’, Array, Array)
#2 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(743): Tribe\Events\I18n->get_i18n_strings_for_domains(Array, Array, Array, 2)
#3 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(303): Tribe__Events__Rewrite->get_localized_bases(Array, Array)
#4 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php(127): Tribe__Events__Rewrite->get_bases(‘regex’)
#5 /home/public/sites/www.benlinders.com/wp-content/plugins/the-events-ca in /home/public/sites/www.benlinders.com/wp-includes/plugin.php on line 113
[16-Oct-2020 08:26:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function apply_filters() on array in /home/public/sites/www.benlinders.com/wp-includes/plugin.php:206
Stack trace:
#0 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘en_US’)
#1 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(137): get_locale()
#2 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(828): determine_locale()
#3 /home/public/sites/www.benlinders.com/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain()
#4 [internal function]: WP_Fatal_Error_Handler->handle()
#5 {main}
thrown in /home/public/sites/www.benlinders.com/wp-includes/plugin.php on line 206Forum: Plugins
In reply to: [Error Log Monitor] Usage of filer with contextual_help, deprecatedThe warning is still there, so it has to be another plugin as the code in AdminPage.php is commented out.
Apologies for wrongly raising the issue.
Forum: Plugins
In reply to: [The Events Calendar] Uncaught Error: Call to a member function add_filter()This error is happening several times each hour, so I’m guessing it’s every time when someone visited one of the pages with an event on my website. But that’s a guess. You know the code of your plugin better than I do, so you might know when this stack pattern can occur?
I noticed there’s a pattern as the above error is usually followed by a second PHP fatal error:
[07-Oct-2020 18:04:20 UTC] PHP Fatal error: Uncaught Error: Call to a member function apply_filters() on array in /home/public/sites/www.benlinders.com/wp-includes/plugin.php:206
Stack trace:
#0 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(41): apply_filters(‘locale’, ‘en_US’)
#1 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(137): get_locale()
#2 /home/public/sites/www.benlinders.com/wp-includes/l10n.php(828): determine_locale()
#3 /home/public/sites/www.benlinders.com/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain()
#4 [internal function]: WP_Fatal_Error_Handler->handle()
#5 {main}
thrown in /home/public/sites/www.benlinders.com/wp-includes/plugin.php on line 206Does this help?
Forum: Plugins
In reply to: [Error Log Monitor] Usage of filer with contextual_help, deprecatedI commented out the line, will follow up if the warning is still there or not.
Thanks!
Ben Linders
Forum: Plugins
In reply to: [Error Log Monitor] Usage of filer with contextual_help, deprecatedI searched through all my plugins for contextual_help and the code from error log monitor is the only one that showed up using it. There are no other search results.
Any guidance on how I can be sure that it’s error log monitor or not?
Ben Linders
Forum: Plugins
In reply to: [Code Snippets] Use of contextual_help is deprecatedYou’re welcome, thanks for your prompt response.
Forum: Plugins
In reply to: [Code Snippets] Use of contextual_help is deprecatedYou’re right. I stumbled upon contextual_help in your plugin when I searched for it, but it’s not the actual filter anymore. Apologies.
BTW: I used the plugin String Locator to find out what plugins on my website are still using it.
Ben Linders
Update: Fatal error with event tickets still occurs after updating event calendar to 5.2.0.
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