Forum Replies Created
-
AuthorPosts
-
Dan Feeley
ParticipantNo, it just stuck out. I just wanted to make sure nothing was wrong.
Thanks for the info!Dan Feeley
ParticipantThis reply is private.
Dan Feeley
ParticipantNever mind, I got it. Thanks
Dan Feeley
ParticipantNico,
Thank you for this snippet. This is exactly what I was looking for as well, however I am getting a syntax error on the remove_action and am not quite sure what is causing it.
PHP Parse error: syntax error, unexpected ‘remove_action’
Dan Feeley
ParticipantThis reply is private.
Dan Feeley
ParticipantThat worked great, thank you.
Dan Feeley
ParticipantThis reply is private.
Dan Feeley
ParticipantI ran the query and it returned no results. Just to be safe I deleted all venues except one and did an update on that with no luck. Not sure if it’s related but something I found. On a new server I installed Events Calendar 4.0.6 and created an event, this is the venue:

This is the venue with 4.0.7 installed (the 0 was there by default):

Dan Feeley
Participant[07-Mar-2016 15:34:56 UTC] PHP Stack trace: [07-Mar-2016 15:34:56 UTC] PHP 1. {main}() C:\Program Files (x86)\Ampps\www\index.php:0 [07-Mar-2016 15:34:56 UTC] PHP 2. require() C:\Program Files (x86)\Ampps\www\index.php:17 [07-Mar-2016 15:34:56 UTC] PHP 3. require_once() C:\Program Files (x86)\Ampps\www\wp-blog-header.php:16 [07-Mar-2016 15:34:56 UTC] PHP 4. include() C:\Program Files (x86)\Ampps\www\wp-includes\template-loader.php:89 [07-Mar-2016 15:34:56 UTC] PHP 5. tribe_get_view() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\default-template.php:21 [07-Mar-2016 15:34:56 UTC] PHP 6. include() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\general.php:45 [07-Mar-2016 15:34:56 UTC] PHP 7. tribe_get_template_part() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\list.php:24 [07-Mar-2016 15:34:56 UTC] PHP 8. include() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\general.php:109 [07-Mar-2016 15:34:56 UTC] PHP 9. tribe_get_template_part() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\list\content.php:44 [07-Mar-2016 15:34:56 UTC] PHP 10. include() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\general.php:109 [07-Mar-2016 15:34:56 UTC] PHP 11. tribe_get_template_part() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\list\loop.php:38 [07-Mar-2016 15:34:56 UTC] PHP 12. include() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\general.php:109 [07-Mar-2016 15:34:56 UTC] PHP 13. tribe_get_venue_details() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\list\single-event.php:16 [07-Mar-2016 15:34:56 UTC] PHP 14. tribe_get_meta() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\venue.php:455 [07-Mar-2016 15:34:56 UTC] PHP 15. call_user_func_array:{C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\meta.php:129}() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\meta.php:129 [07-Mar-2016 15:34:56 UTC] PHP 16. Tribe__Events__Advanced_Functions__Register_Meta::venue_address() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\meta.php:129 [07-Mar-2016 15:34:56 UTC] PHP 17. tribe_get_full_address() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\Tribe\Advanced_Functions\Register_Meta.php:279 [07-Mar-2016 15:34:56 UTC] PHP 18. Tribe__Events__Main->fullAddress() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\venue.php:142 [07-Mar-2016 15:34:56 UTC] PHP 19. tribe_get_template_part() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\Tribe\Main.php:2924 [07-Mar-2016 15:34:56 UTC] PHP 20. include() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\general.php:109 [07-Mar-2016 15:34:56 UTC] PHP 21. tribe_get_country() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\views\modules\address.php:63 [07-Mar-2016 15:34:56 UTC] PHP 22. esc_html() C:\Program Files (x86)\Ampps\www\wp-content\plugins\the-events-calendar\src\functions\template-tags\venue.php:123 [07-Mar-2016 15:34:56 UTC] PHP 23. wp_check_invalid_utf8() C:\Program Files (x86)\Ampps\www\wp-includes\formatting.php:3533 [07-Mar-2016 15:34:56 UTC] PHP Notice: Array to string conversion in C:\Program Files (x86)\Ampps\www\wp-includes\formatting.php on line 1025Dan Feeley
ParticipantThis reply is private.
Dan Feeley
ParticipantBrook: Yes, the error does appear in list view as well as single event view. And it only appears if debugging is set to true. I removed all template overrides and disabled all other plugins except Events Calendar and the error still persists.
I will send the system information below.
Dan Feeley
ParticipantI am getting the same error as well. In my case it appears to be related to events that do not have a venue defined. There was no issue in 4.0.6.
Dan Feeley
ParticipantYes, that’s still working perfectly. Thanks.
Dan Feeley
ParticipantI think it’s safe to close it. I was able to successfully get everything I needed out of it (and some).
Thanks again.Dan Feeley
ParticipantGreat, thanks again.
-
AuthorPosts
