Guga Alves
Forum Replies Created
-
Hi there!
We’re happy to inform you that the issue in the The Events Calendar plugin causing an E_ERROR in Singular_Page.php has been fixed.
As always, we recommend testing updates on a staging site first – https://theeventscalendar.com/knowledgebase/creating-and-using-a-wordpress-staging-site/ – and keeping a recent backup, but the update should work smoothly.
Please upgrade your The Events Calendar plugin to apply this fix to your site.
Best regards,
By the way, I took some time to send a Pull request and help fixing the issue: https://github.com/PaystackOSS/plugin-the-events-calendar/pull/17
- This reply was modified 9 months, 2 weeks ago by Guga Alves.
Hi Paystack team.
Guga here, from the Events Calendar/Event Tickets Technical support team.
We have also received some tickets sharing that a fatal error is happening when activating “Paystatck for The Events Calendar” plugin.
Here’s the error message our customers shared (and I was able to reproduce it):
Fatal error: Type of paystack\tec\classes\Gateway::$key must be string (as in class TEC\Tickets\Commerce\Gateways\Contracts\Abstract_Gateway) in /wp-content/plugins/paystack-for-events-calendar/classes/class-gateway.php on line 16.I can see that the child class Gateway in the Paystack plugin, it’s defined as
protect static $key = 'paystack';The parent class is using PHP 7.4+ typed properties with the string type declaration, but the child class isn’t including this type declaration. This is causing the fatal error because the child class must maintain the same type declaration as the parent class.
You may need to modify the class-gateway.php file in the Paystack plugin to add the type declaration for the $key property:
protected static string $key = 'paystack';You’ll also need to make similar changes to the other properties that have type declarations in the parent class, on lines 25, 30 and 35.
This error occurs because the Paystack plugin was likely developed for an older version of the Event Tickets plugin or PHP, before typed properties were introduced. Note that some other files may need to be reviewed too 🙂
Hope that helps you to fix the issue.
Best regards, have a great week!
- This reply was modified 9 months, 2 weeks ago by Guga Alves.
Hi there,
As of version 6.14.0 of The Events Calendar, the functionality previously provided by the standalone Category Colors plugin has been officially integrated into the core plugin, so the standalone Category Colors plugin will be discontinued as it’s not needed anymore 🙂
You can read the full announcement and details here: Category Colors Now Included in The Events Calendar.
For your existing settings and styles to carry over properly, you need to complete a one-time migration process explained on the article shared above.
🔁 Important Notes:
- Migration is required to preserve your existing color settings.
- The standalone Category Colors plugin will be automatically deactivated after migration. Once you’re confident everything works, it’s safe to delete it.
- Migration is one-way and cannot be undone, so it’s recommended to back up your site beforehand (just to be safe).
Additional Notes:
- The new implementation uses the same basic concept (color assignments by category), but the settings interface and codebase have been streamlined for better performance and compatibility going forward.
- If you had custom CSS or filters tied to the old plugin, they may need to be adjusted. Feel free to share those snippets if you need help updating them.
Hi @hokopt,
Kindly notice that your error message shows that you’re using the All in One Event Calendar plugin. This plugin is developed and maintained by a different company, so we’re unable to provide direct support for it.
If you’re experiencing issues with All in One Event Calendar, I recommend reaching out to their support team for assistance.
You can find their support forum here:
🔗 https://ww.wp.xz.cn/support/plugin/all-in-one-event-calendar/Forum: Plugins
In reply to: [The Events Calendar] Fatal error after updateHi there,
I can see that your issue is related to the Event Tickets plugin, while this forum is focused on the Events Calendar plugin only…
To help us keep things organized, would you please open a forum thread on the appropriate forum instead?
https://ww.wp.xz.cn/support/plugin/event-tickets/
Best regards,
Forum: Plugins
In reply to: [The Events Calendar] Issue with Event Calendar Page DisplayHi there!
Thank you for contacting us. I’ll be happy to help you.
For me to understand and learn more about your setup, could you provide the following version of the following?
- PHP
- WordPress
- The Events Calendar
- Elementor (free and PRO if you have it too)
- Theme and Version
Best Regards,
Forum: Plugins
In reply to: [The Events Calendar] Conflict con multisite create new siteHi there,
That sounds like an old issue that was already fixed some time ago… Would you please update your Events Calendar plugin to the most recent version, and try that again?
Hi there,
The problem was fixed and the language files were generated again. Reinstalling the Events Calendar plugin on your end should fix that issue.
Hi @nordiskastil,
Thank you for contacting us. I’ll be happy to help you.
We’re aware of that issue and are working to regenerate all the language files and solve it for everyone. We’ll be back here once we have good news about it.
Forum: Plugins
In reply to: [The Events Calendar] RSVP Admin NotificationsHi there,
Please note that this forum is for the free Events Calendar plugin only, and your question concerns the Event Tickets plugin. Please send your question to the appropriate forum instead.
Best regards,
Forum: Plugins
In reply to: [The Events Calendar] Front end submissionHi there,
You can enable third-party event submission and ticketing with Community Events & Community Tickets plugins.
Note that we are unable to share more of this here for us to follow forum guidelines regarding Premium features, but you can learn more about those plugins on the plugin pages linked above.
- This reply was modified 2 years, 1 month ago by Guga Alves.
Forum: Plugins
In reply to: [NSFW] [The Events Calendar] SEO plugin sets Event Date to post dateHi @ron,
I’ve answered your message in the AIOSEO forum sharing a snippet for another SEO plugin and asking Arnaud to show us how to do the same for their plugin. Based on that they should be able to point the right directions to register the Event start/end Date as variables and use it on their SEO plugin.
- This reply was modified 2 years, 1 month ago by Guga Alves.
Hi @ron!
Guga here, from the Events Calendar support team.
The Events Calendar doesn’t provide an integration with AIOSEO, and as mentioned by @arnaudbroes, the “Event Date” you see in the AIOSEO smart tags is the post type publication date, and not the event meta field which stores the event start date.
Adding the Event start date would require a customization, getting the correspondent meta field from a post and insert that on the title.
As an example, I can share a small PHP snippet that shows how to create a custom function to get the event start date and register it for the Yoast SEO plugin, and maybe @arnaudbroes can show us how to register that as a new variable for the AIOSEO smart tags instead.
Here’s how to do it when using Yoast SEO:
if ( class_exists('Tribe__Events__Main') && class_exists ('WPSEO_Frontend') ) { // SINGLE EVENT - Variable // Add the event start date variable. function get_tec_event_start_date() { $event_id = get_the_ID(); $start_date = tribe_get_start_date( $event_id, false, tribe_get_date_format() ); return $start_date; } // Add the event end date variable. function get_tec_event_end_date() { $event_id = get_the_ID(); $end_date = tribe_get_end_date( $event_id, false, tribe_get_date_format() ); return $end_date; } function register_custom_yoast_variables() { wpseo_register_var_replacement( '%%event_start_date%%','get_tec_event_start_date','advanced','Get the event start date' ); wpseo_register_var_replacement( '%%event_end_date%%','get_tec_event_end_date', 'advanced', 'Get the event end date' ); } // Add action add_action('wpseo_register_extra_replacements','register_custom_yoast_variables'); }@arnaudbroes based on that snippet below that register a new variable for the Yoast SEO plugin, can you show us how to do the same but for the AIOSEO plugin?
Forum: Plugins
In reply to: [The Events Calendar] Map for all eventsHi there,
The Map View is available only when having the Events Calendar PRO plugin, the paid version.
You can see a Map view demo at https://demo.theeventscalendar.com/events/map/ .
Best,