• Resolved corytrevor

    (@corytrevor)


    Hi

    I’m getting a fatal error when running certain wp-cli commands like:

    wp cron event run --due-now

    This is the full error:

    Fatal error: Uncaught Error: Call to a member function getCore() on null in /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets-with-ticket-scanner/woocommerce-hooks.php:11

    Stack trace:
    0 /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets-with-ticket-scanner/woocommerce-hooks.php(23): saso_eventtickets_wc_checkTicketDetailPage()
    1 /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets-with-ticket-scanner/index.php(545): require(‘/home/customer/…’)
    2 /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php(308): sasoEventticketsWooCommercePluginLoaded(”)
    3 /home/customer/www/example.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    4 /home/customer/www/example.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    5 /home/customer/www/example.com/public_html/wp-settings.php(480): do_action(‘plugins_loaded’)
    6 phar:///usr/local/bin/wp-cli.phar/vendo in /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets-with-ticket-scanner/woocommerce-hooks.php on line 11

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Saso

    (@sasonikolov)

    Hello Corytrevor

    this is fixed now with the version 1.2.10.

    Hope this helps

    Thread Starter corytrevor

    (@corytrevor)

    Thanks @sasonikolov, that fixed the fatal error when running wp cron. It now comes up with this warning though:

    Warning: Invalid argument supplied for foreach() in /home/customer/www/example.com/public_html/wp-content/plugins/event-tickets-with-ticket-scanner/sasoEventtickets_Core.php on line 470

    Thanks

    Thread Starter corytrevor

    (@corytrevor)

    Hi

    It’s coming up with this error on version 1.4.7 when trying to run cron job with wp-cli:

    PHP Fatal error:? Uncaught Error: Call to a member function getOptions() on null in /public_html/wp-content/plugins/event-tickets-with-ticket-scanner/sasoEventtickets_Ticket.php:29

    Thanks

    Plugin Author Saso

    (@sasonikolov)

    Looks like it is fixed now in the version 1.5.2.

    Please update.

    The fastes way to get support is to write to the [email protected] email, because I do not monitor this forum regularly.

    Thread Starter corytrevor

    (@corytrevor)

    Thanks @sasonikolov, great to hear it’s fixed in the latest version. I sent an email to that address on June 12 when I made the support forum post to notify you about it.

    It’s still showing 1.5.1 as the latest available version but might just need some time for the 1.5.2 update to show as available.

    Plugin Author Saso

    (@sasonikolov)

    1.5.2 Will be out today

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Uncaught Error: Call to a member function getCore()’ is closed to new replies.