• Nathan

    (@hallik)


    In my local dev environment, I work with WP_DEBUG on and noticed this plugin has a couple issues that cause pages of PHP warnings to be displayed before any content is rendered. I use PHP 7.2 which is when create_function depcreation warning came up. Any chance you could push some updates to keep a clean dev environment?

    Thanks!

    ( ! ) Deprecated: Function create_function() is deprecated in /srv/www/www.site.com/current/web/app/plugins/tickera-event-ticketing-system/includes/widgets/cart-widget.php on line 89

    ####To fix line 89 (Anonymous function?)
    add_action( ‘widgets_init’, function() { return register_widget(“TC_Cart_Widget”); } );

    Deprecated: Function create_function() is deprecated in /srv/www/www.chqi.com/current/web/app/plugins/tickera-event-ticketing-system/includes/widgets/upcoming-events-widget.php on line 99

    ####To fix line 99 (Anonymous function?)
    add_action( ‘widgets_init’, function() { return register_widget(“TC_Upcoming_Events_Widget”);; } );

    ( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /srv/www/www.site.com/current/web/app/plugins/tickera-event-ticketing-system/tickera.php on line 1269

    ####To fix line 1269
    return count((array)$tc_gateway_active_plugins);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nathan

    (@hallik)

    Nothing? Almost every single topic is answered same day. I even provided an answer for the issues. Is this something you’ll fix?

    Plugin Support botttle

    (@botttle)

    Hi Nathan,

    We are so sorry for the delay in response.
    Thank you for the report. We will fix this and update Tickera version as soon as possible.

    Kind Regards,
    Tickera Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Depcreated functions & Warnings’ is closed to new replies.