Home › Forums › Ticket Products › Event Tickets Plus › Fatal error from Event Tickets Plus
- This topic has 7 replies, 3 voices, and was last updated 7 years, 2 months ago by tuberb.
-
AuthorPosts
-
February 28, 2017 at 9:44 am #1247063tuberbParticipant
We’re running The Events Calendar Pro with Events Ticket Plus and Easy Digital Downloads as the shopping cart. We just updated our development site with current versions of all plugins to test for any issues before updating the live site, and when we try to go into Events, Settings in the admin, we get a white screen with:
Fatal error: Call to undefined function wc_get_order_statuses() in /home/…/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Settings.php on line 64
We do not have WooCommerce installed on the site.
Any suggestions?
Thanks,
Barry
March 1, 2017 at 9:03 am #1247781GeorgeParticipantSorry to hear this, Barry!
This appears to be a bug — we will investigate this and get working on a fix if indeed it is.
In the meantime, installing and activating WooCommerce (without using it!) should resolve this. I know this isn’t desirable, but it should be a temporary fix for a fatal error until we are able to publish a proper fix.
Please let me know if that helps!
Stay tuned, I will post with news about the bug after we investigate a bit.
— George
March 1, 2017 at 9:13 am #1247787GeorgeParticipantHey Barry,
I tried recreating this problem to no avail.
Once you install and activate WooCommerce so that the Fatal Error goes away, can you then please post your site’s complete, un-edited system information using the “Sharing information manually” steps outlined in this article: https://theeventscalendar.com/knowledgebase/sharing-sys-info/
That will help us investigate this.
Cheers!
GeorgeMarch 9, 2017 at 9:30 am #1251873tuberbParticipantOk, I have installed Woocommerce, and can get into Settings without the fatal error. Here is the system information:
Home URL
https://itsmastage.personalcto.biz
Site URL
https://itsmastage.personalcto.biz
Site Language
English
Character Set
UTF-8
Name
barry
Email
[email protected]
Install keysevent-tickets-plus = 6a4c################################d23e
events-calendar-pro = 1ab1################################42b9WordPress version
4.7.3
PHP version
5.6.30
PHPmax_execution_time = 259200
memory_limit = 256M
upload_max_filesize = 10M
post_max_size = 10M
display_errors = 1
log_errors = OnServer
Apache
SAPI
apache2handler
PluginsGravity Forms version 2.1.3 by rocketgenius(http://www.rocketgenius.com)
Advanced Custom Fields PRO version 5.5.9 by Elliot Condon(http://www.elliotcondon.com/)
Advanced Post Manager version 4.4 by Modern Tribe, Inc.(http://m.tri.be/4n)
ARVE Advanced Responsive Video Embedder version 8.0.7 by Nicolas Jonas(https://nextgenthemes.com)
Akismet Anti-Spam version 3.3 by Automattic(https://automattic.com/wordpress-plugins/)
Autoptimize version 2.1.0 by Frank Goossens (futtta)(http://blog.futtta.be/)
Better User Search version 1.1.1 by Dale Higgs(mailto:[email protected])
Contact Form DB version 2.10.21 by Michael Simpson
Disable WordPress Plugin Updates version 1.4 by John Blackbourn(http://johnblackbourn.com/)
Display Widgets version 2.05 by Strategy11(http://strategy11.com)
Easy Digital Downloads – CSV Manager version 1.2.8 by Daniel J Griffiths and Pippin Williamson(https://easydigitaldownloads.com)
Easy Digital Downloads version 2.7.4 by Easy Digital Downloads(https://easydigitaldownloads.com)
Easy Digital Downloads – Check Payment Gateway version 1.3.2 by Easy Digital Downloads Team(http://pippinsplugins.com)
Easy Digital Downloads – Manual Purchases version 2.0.4 by Easy Digital Downloads(https://easydigitaldownloads.com)
Easy Digital Downloads – Stripe Payment Gateway version 2.5.11 by Easy Digital Downloads(https://easydigitaldownloads.com)
Error Log Monitor version 1.5.2 by Janis Elsts(http://w-shadow.com/)
Event Tickets Plus version 4.4.2 by Modern Tribe, Inc.(http://m.tri.be/28)
Event Tickets version 4.4.3 by Modern Tribe, Inc.(http://m.tri.be/28)
The Events Calendar PRO version 4.4.3 by Modern Tribe, Inc.(http://m.tri.be/20)
MailChimp Goal for WordPress version 1.2 by Nate Ranson(http://www.mailchimp.com)
GoToWP Personal version 2.0.3 by GoToWP.com(http://www.gotowp.com/)
Gravity Forms + Custom Post Types version 3.1.7 by spivurno(http://gravitywiz.com/)
Gravity Forms No CAPTCHA reCAPTCHA version 1.0.7 by John Parks – Folkhack Studios(http://folkhack.com)
Gravity Forms MailChimp Add-On version 4.1 by rocketgenius(http://www.rocketgenius.com)
Gravity Forms User Registration Add-On version 3.7 by rocketgenius(http://www.rocketgenius.com)
ITSMA Logic version 0.95 by PersonalCTO.net(http://www.personalcto.net/)
InfiniteWP – Client version 1.6.3.2 by Revmakx(http://www.revmakx.com)
Maintenance Mode version 2.2.5 by Lukas Juhas(https://plugins.itsluk.as/)
Map Cap version 2.1 by Brent Shepherd(http://find.brentshepherd.com/)
Menu Items Visibility Control version 0.3.4 by Hassan Derakhshandeh
Postman SMTP version 1.7.2 by Jason Hendriks(http://www.codingmonkey.ca)
Posts 2 Posts version 1.6.5 by scribu(http://scribu.net/)
Redirection version 2.5 by John Godley(http://urbangiraffe.com)
Rich Text Tags, Categories, and Taxonomies version 1.8 by Katz Web Services, Inc.(https://katz.co)
Rotating Tweets (Twitter widget & shortcode) version 1.9 by Martin Tod(http://www.martintod.org.uk)
Server IP & Memory Usage Display version 1.4.0 by Apasionados, Apasionados del Marketing(http://apasionados.es)
Fast Secure Contact Form version 4.0.49 by Mike Challis, Ken Carlson(http://www.642weather.com/weather/scripts.php)
Simple Local Avatars version 2.0 by Jake Goldman, 10up(http://10up.com)
Simple Page Ordering version 2.2.4 by Jake Goldman, 10up(http://10up.com)
Simple Share Buttons Adder version 6.3.4 by Simple Share Buttons(https://simplesharebuttons.com)
Category Order and Taxonomy Terms Order version 1.4.9 by Nsp-Code(http://www.nsp-code.com)
The Events Calendar version 4.4.3 by Modern Tribe, Inc.(http://m.tri.be/1x)
TinyMCE Advanced version 4.4.3 by Andrew Ozz(http://www.laptoptips.ca/)
Toggles Shortcode And Widgets version 1.5 by OTWthemes.com(http://themeforest.net/user/OTWthemes)
User Role Editor version 4.31.1 by Vladimir Garagulya(https://www.role-editor.com)
W3 Total Cache version 0.9.5.2 by Frederick Townes(http://www.linkedin.com/in/fredericktownes)
Widget CSS Classes version 1.4.0 by C.M. Kendrick(http://cleverness.org)
Widget Logic by Path version 0.2.2 by Mohan Chevuri(http://www.uis.edu/webservices/)
Widget Logic version 5.7.2 by wpchefgadget, alanft
WooCommerce version 2.6.14 by WooThemes(https://woocommerce.com)
WordPress Importer version 0.6.3 by wordpressdotorg(http://wordpress.org/)
Yoast SEO version 4.3 by Team Yoast(https://yoast.com/)
WP Google Maps – Pro Add-on version 5.73 by WP Google Maps(http://www.wpgmaps.com)
WP Google Maps version 6.4.03 by WP Google Maps(https://www.wpgmaps.com)
WP Help version 1.5.1 by Mark Jaquith(http://coveredwebservices.com/)
WP Mail Logging version 1.8.0 by Christian Zöller(http://no3x.de/)
WP-PageNavi version 2.91 by Lester ‘GaMerZ’ Chan(http://lesterchan.net)
Widget Content Blocks version 2.3.6 by Danny van Kooten(http://dvk.co/)Network Plugins
–
MU Plugins
–
Theme
–
Multisite
–
Settingsrecurring_events_are_hidden = exposed
tribeEventsTemplate = single-tribe_events.php
tribeEventsBeforeHTML =
tribeEventsAfterHTML =
previous_ecp_versions =Array
(
[0] => 0
[1] => 3.4.1
[2] => 3.5.1
[3] => 3.6.1
[4] => 3.7
[5] => 3.8
[6] => 3.8.1
[7] => 3.9
[8] => 3.9.1
[9] => 4.2.6
)latest_ecp_version = 4.4.3
welcome_notice = 1
stylesheetOption = full
tribeEnableViews =Array
(
[0] => list
)viewOption = list
tribeDisableTribeBar = 1
monthEventAmount = 3
defaultValueReplace =
disable_metabox_custom_fields = show
hideLocationSearch =
hideRelatedEvents =
pro-schema-version = 4.4.3
donate-link =
postsPerPage = 20
liveFiltersUpdate =
hideSubsequentRecurrencesDefault =
userToggleSubsequentRecurrences =
recurrenceMaxMonthsBefore = 24
recurrenceMaxMonthsAfter = 24
showComments =
showEventsInMainLoop =
eventsSlug = events
singleEventSlug = event
multiDayCutoff = 00:00
defaultCurrencySymbol = $
reverseCurrencyPosition =
embedGoogleMaps = 1
geoloc_default_geofence = 25
geoloc_default_unit = miles
embedGoogleMapsZoom = 10
debugEvents =
earliest_date = 2010-01-26 00:00:00
latest_date = 2017-05-24 23:59:59
dateWithYearFormat = F j, Y
dateWithoutYearFormat = F j
monthAndYearFormat = F Y
weekDayFormat = D jS
dateTimeSeparator = @
timeRangeSeparator = –
datepickerFormat = 0
last-update-message = 3.9.1
schema-version = 4.4.3
google_maps_js_api_key = AIzaSyDKWPZJeycg5fZ7mQ631x1ZVmgbSHmG5IQ
earliest_date_markers =Array
(
[0] => 17285
)latest_date_markers =
Array
(
[0] => 35849
)ticket-enabled-post-types =
Array
(
[0] => tribe_events
)previous_event_tickets_versions =
Array
(
[0] => 0
)latest_event_tickets_version = 4.4.3
WP Timezone
America/New_York
WP GMT Offset
-5
Server Timezone
UTC
WP Date Format
F j, Y
WP Time Format
g:i a
Week Starts On
1
Common Library Dir
/home/itsmastage/public_html/wp-content/plugins/event-tickets/common/src/Tribe
Common Library Version
4.4.3March 9, 2017 at 10:48 am #1251923GeorgeParticipantThanks for this information!
I’m admittedly quite puzzled by this because, as noted, when I do the steps to recreate this I cannot produce that fatal error no matter what I try.
I’m wondering if perhaps your system grabbed a premature version of our files in the auto-update process. ?
To be sure this isn’t a factor, here’s what I would recommend doing:
1. Make a backup of your site and database (search online for methods of doing this—there’s tons of options out there) — the next steps will not delete any data from your site, but a backup is recommended just to be safe.
2. Once you’ve got a backup, delete The Events Calendar, Event Tickets, Event Tickets Plus, and Events Calendar Pro from your site. Don’t just deactivate these plugins; delete theme.
3. Once those are deleted, download fresh copies of all of those plugins from theeventscalendar.com/my-account/downloads
4. Install the freshly-downloaded copies on your site and activate those plugins.
5. Deactivate WooCommerce so you’re just using these plugins alongside Easy Digital Downloads like before, and then try activating those plugins and see if the fatal errors come back.
What do you find by doing these steps?
GeorgeMarch 9, 2017 at 11:28 am #1251947tuberbParticipantOk, I will try that. I will say that because this particular site is our development site, and there are no valid licenses installed, the procedure you outlined is already what I do to update all of the paid plugins (excluding The Events Calendar itself); i.e. I download the new versions and install them into the plugins directory outside of WordPress…
…I have tried it and am still getting the “Fatal error: Call to undefined function wc_get_order_statuses() in /home/itsmastage/public_html/wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Settings.php on line 64” after installing the new versions.
… actually, what I tried the first time was just to delete the plugins and copy them back outside of WordPress. That did not change the result, so I tried what you said and deactivated and deleted the plugins inside of WordPress before copying them back and re-activating them. As I did that I ran into an issue where our own custom plugin, that includes a bunch of customizations for the Events Calendar and Easy Digital Downloads, would not load without The Events Calendar active, so I left that inactive and was able to get into settings.
I then did some troubleshooting on our plugin code, and found that code we had in there to move the location of the tickets purchase form, which was adapted from this: https://theeventscalendar.com/support/forums/topic/moving-tickets-from-bottom-of-sidebar-to-the-top/, was the problem. I modified the code to comment out the reference to ‘Tribe__Tickets_Plus__Commerce__WPEC__Main’, and ‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’, and the fatal error went away.
March 10, 2017 at 8:15 am #1252357GeorgeParticipantThanks for this update, and for sharing your solution! I’m glad you were able to resolve the Fatal Error.
Since the fatal error is resolved, I’ll close this thread; but please feel free to open a new thread any time if other issues or questions arise!
Cheers,
George -
AuthorPosts
- The topic ‘Fatal error from Event Tickets Plus’ is closed to new replies.