tuberb

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Fatal error from Event Tickets Plus #1251947
    tuberb
    Participant

    Ok, 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.

    in reply to: Fatal error from Event Tickets Plus #1251873
    tuberb
    Participant

    Ok, 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 keys

    event-tickets-plus = 6a4c################################d23e
    events-calendar-pro = 1ab1################################42b9

    WordPress version
    4.7.3
    PHP version
    5.6.30
    PHP

    max_execution_time = 259200
    memory_limit = 256M
    upload_max_filesize = 10M
    post_max_size = 10M
    display_errors = 1
    log_errors = On

    Server
    Apache
    SAPI
    apache2handler
    Plugins

    Gravity 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

    Settings

    recurring_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.3

    in reply to: Class ‘WC_Product’ not found error #1162374
    tuberb
    Participant

    Ok, I had already looked at the documentation and the themers guide, but I can’t find the hook that controls this particular new feature of Events Tickets Plus, which is why I asked the question here. Please look at the attached graphic showing what we are seeing on the event detail page and point me to the function that can be used to disable it. This is not a bug, just a new feature that we do not want, especially since we get an error when users access it.

    As far as the error is concerned, I searched for the string ‘WC_Product’ in the codebase for Events Tickets Plus. It is found in 3 scripts: \Src\Tribe\Commerce\WooCommerce\Main.php, \Src\Views\tickets-plus\orders-tickets.php and \Src\Views\wootickets\Tickets.php.

    I assume Main.php, that declares the class, is only invoked if the site is using WooCommerce. In Tickets.php the class is referenced only after a test to see if it exists, which it would not for our site since we don’t use WooCommerce. In orders-tickets.php, which is where we are seeing the error in our site, the class is referenced without testing to see if it exists. So that seems to be to be a bug in your code.

    And you should be able to reproduce the error on any site that uses Easy Digital Downloads as the shopping cart, without needing any credentials from our site.

    Barry

    in reply to: Class ‘WC_Product’ not found error #1161768
    tuberb
    Participant

    Why do I need to provide you with system information in order to be able to be told how to disable this feature from inside our theme? You have all sorts of actions and filters that we use in lots of places; I just can’t find the one that controls this new feature in your documentation.

    And yes, we went through the process to migrate to Events Tickets Plus that is outlined in that article. But even though everything critical related to the shopping cart is working fine, we get this error, that I assume relates to WooCommerce, where we are using Easy Digital Downloads as the cart.

    Barry

    in reply to: Possible code errors #1154751
    tuberb
    Participant

    Here is what I am seeing, which is the same as one of the line numbers that the original poster also reported:

    PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php on line 893

    in reply to: Possible code errors #1153140
    tuberb
    Participant

    I am a developer who has the events calendar on a number of sites that I support. I have error logging enabled and get daily logs emailed back to me so that I can be aware of any issues that develop on my sites to be able to troubleshoot them.

    I therefore get daily logs from all of my sites running your plugin informing me of errors about
    PHP Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php which I have to spend the time wading through before I find any real issues. If your developer is aware of the sloppy coding that results in those errors appearing, it would be nice if he could take the few minutes to fix the issue and spare the rest of us the time we spend seeing the result every day.

    tuberb
    Participant

    I am reluctant to put something in to follow that code sample to autocomplete the order based on the product type, since that would not handle a situation in which there are multiple products on an order, some of which are events and some of which are not. I guess we can manually “complete” the orders in the admin, but it would be much better if you could either provide code that we could install to handle all situations, or get the plugin to work properly to begin with.

    Barry

    in reply to: Change navigation labels #1113516
    tuberb
    Participant

    Ok thanks, that does it. Is this in the documentation anywhere; I did look before I posted?

    in reply to: Promo Code bringing proce to 0 does not work #947771
    tuberb
    Participant

    Figured this out. My custom pricing function has logic in there that checks is_admin() and returns the default price if true, which was put in to show the default price in the Events and Downloads admin pages. The discount code is applied, and the cart re-totaled via ajax, and I did not realize that ajax calls have is_admin() true in their context, and because of that my function was returning a different price than in non-ajax mode.

    I turned my test of is_admin() into if ( !defined( ‘DOING_AJAX’ ) && is_admin() ) and I am now getting the correct result.

    in reply to: Promo Code bringing proce to 0 does not work #947735
    tuberb
    Participant

    I did some more work on this, and actually posted another question here: https://easydigitaldownloads.com/support/topic/applying-discount-to-item-with-a-price-filter/ which provides more detail and screenshots. The issue seems to be the way the cart subtotal is being calculated, which seems to be circumventing our custom pricing logic, even though the logic is correctly being used to display the item price itself. There is nothing special about the way we are doing discounts, but we do have special functions to override pricing.

    I have not gotten a response back from the EDD folks yet, so if you can tell me anything, that would be great.

    Barry

    in reply to: Email customizations #802713
    tuberb
    Participant

    This reply is private.

    in reply to: Ticket Sort Order #659839
    tuberb
    Participant

    Ah, yes that should do it, thanks.

    in reply to: Custom form with EDD Tickets #651331
    tuberb
    Participant

    We want to capture answers to questions during event registration. As far as I know, the only forms that are part of that are the ticket form that appears on the single event page, and the checkout form. So I guess the questions should go into the checkout form.

    in reply to: Custom form with EDD Tickets #650846
    tuberb
    Participant

    Again, this is what Pippen said yesterday, in this ticket: https://easydigitaldownloads.com/support/topic/forms-how-to-get-there-from-here/#post-292485

    >>If you are using EDD Tickets, you won’t be able to modify the >>registration form with any of our extensions, sorry. If you open a >>ticket with Modern Tri. Be, they may be able to give you some guidance >>on modifying the registration form in their plugin.

    So where do I go from here?

    in reply to: Custom form with EDD Tickets #650406
    tuberb
    Participant

    I am not talking primarily about the email here, but the form. We want to add additional questions would be asked of the user on the registration/checkout form, and the values would be saved with the registration and available to be included in the emails.

    Thanks.

Viewing 15 posts - 1 through 15 (of 18 total)