Title: int() error
Last modified: August 27, 2019

---

# int() error

 *  Resolved [ashs_au](https://wordpress.org/support/users/ashs_au/)
 * (@ashs_au)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/int-error/)
 * With this plugin in WordPress 5.1.1 I received logged errors:
 * `PHP Fatal error: Uncaught Error: Call to undefined function int()`
    – on line
   78 of the main plugin file.
 * C\As you might expect, changing this to intval() makes it work.
 * Thanks for creating this plugin – doing ajax categories in the functions.php 
   or a template file is very messy.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chandrika Sista](https://wordpress.org/support/users/cguntur/)
 * (@cguntur)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/int-error/#post-11872316)
 * If you update to the latest version of WordPress (5.2.2), you will not get the
   error. I will address this issue in the next update.

Viewing 1 replies (of 1 total)

The topic ‘int() error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-category-dropdown.svg)
 * [Category Dropdown by GCS Design](https://wordpress.org/plugins/wp-category-dropdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-category-dropdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-category-dropdown/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-category-dropdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-category-dropdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-category-dropdown/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chandrika Sista](https://wordpress.org/support/users/cguntur/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/int-error/#post-11872316)
 * Status: resolved