Title: PHP Depcreated functions &amp; Warnings
Last modified: March 24, 2018

---

# PHP Depcreated functions & Warnings

 *  Resolved [Nathan](https://wordpress.org/support/users/hallik/)
 * (@hallik)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-depcreated-functions-warnings/)
 * 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](https://wordpress.org/support/users/hallik/)
 * (@hallik)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-depcreated-functions-warnings/#post-10150080)
 * 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](https://wordpress.org/support/users/botttle/)
 * (@botttle)
 * [8 years ago](https://wordpress.org/support/topic/php-depcreated-functions-warnings/#post-10231983)
 * 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.

 * ![](https://ps.w.org/tickera-event-ticketing-system/assets/icon-256x256.jpg?rev
   =1328378)
 * [Tickera – Sell Tickets & Manage Events](https://wordpress.org/plugins/tickera-event-ticketing-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tickera-event-ticketing-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tickera-event-ticketing-system/)
 * [Active Topics](https://wordpress.org/support/plugin/tickera-event-ticketing-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tickera-event-ticketing-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tickera-event-ticketing-system/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [botttle](https://wordpress.org/support/users/botttle/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/php-depcreated-functions-warnings/#post-10231983)
 * Status: resolved