Title: Add new filter doesn&#8217;t work
Last modified: November 22, 2021

---

# Add new filter doesn’t work

 *  Resolved [rosalieywema](https://wordpress.org/support/users/rosalieywema/)
 * (@rosalieywema)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/)
 * Hi guys! I want to add a filter, but when I press on ‘add new’ nothing happens.
   I get a code 500 when I look into inspect. How can I add some filters when the
   popup doesn’t show? 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadd-new-filter-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15104780)
 * Hi,
 * Could you post a screenshot about the error you got? If it’s an admin-ajax.php
   error, then you should contact your hosting provider and ask them to enable admin-
   ajax.php / also set the limit a bit higher ( if needed )
 *  [isarisar](https://wordpress.org/support/users/isarisar/)
 * (@isarisar)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15130759)
 * Can confirm, error 500 both on **Add new** and **Edit** of existing ones.
 * While it’s indeed an error occurring with a _GET/Request URL [https://…/wp-admin/admin-ajax.php?action=wpf\_edit&nonce=…&slug=kategorien&\_fs\_blog\_admin=true](https://…/wp-admin/admin-ajax.php?action=wpf_edit&nonce=…&slug=kategorien&_fs_blog_admin=true)_
   call, the network log shows other calls from the same page to _[https://…/wp-admin/admin-ajax.php](https://…/wp-admin/admin-ajax.php)_
   succeed fine.
 * I also have no issues with anything else on my site, and the existing filters
   continue working fine.
 * (Most recent versions of everything in WordPress, PHP 8.0.12 with memory_limit
   512M, nginx)
 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15152754)
 * Hi [@isarisar](https://wordpress.org/support/users/isarisar/)
 * Please deactivate your third-party plugins ( except WooCommerce ), re-test, if
   this doesn’t help, please also try switching your theme to StoreFront Theme (
   the default WooCommerce Theme ) and if the issue still persists, then please 
   contact us via email at [info@themify.me](https://wordpress.org/support/topic/add-new-filter-doesnt-work/info@themify.me?output_format=md)
   so we can investigate this issue further on your website.
 *  [weaselnerd](https://wordpress.org/support/users/weaselnerd/)
 * (@weaselnerd)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15182718)
 * I’ll chip in it appears to be a PHP 8 incompatibility.
 * Testing PHP 8 threw up the ajax 500 error in the console. Reverted back to PHP
   7.4 and the edit screens load up again, which is fine for this site for now at
   least.
 * Sample error:
    `PHP Fatal error: Uncaught TypeError: floor(): Argument #1 ($num)
   must be of type int|float, string given in /nas/content/live/mysite/wp-content/
   plugins/themify-wc-product-filter/includes/class-wpf-form.php:407\nStack trace:\
   n#0 /nas/content/live/mysite/wp-content/plugins/themify-wc-product-filter/includes/
   class-wpf-form.php(407): floor('')\n#1 /nas/content/live/mysite/wp-content/plugins/
   themify-wc-product-filter/includes/class-wpf-form.php(331): WPF_Form->get_main_fields('
   price', 'Price', Array)\n#2 /nas/content/live/mysite/wp-content/plugins/themify-
   wc-product-filter/includes/class-wpf-form.php(278): WPF_Form->module('price','
   Price', Array, Array)\n#3 /nas/content/live/mysite/wp-content/plugins/themify-
   wc-product-filter/admin/partials/form.php(7): WPF_Form->form()\n#4 /nas/content/
   live/mysite/wp-content/plugins/themify-wc-product-filter/admin/class-wpf-admin.
   php(343): include_once('/nas/content/li...')\n#5 /nas/content/live/mysite/wp-
   includes/class-wp-hook.php(303): WPF_Admin->add_template('')\n#6 /nas/content/
   live/mysite/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)\
   n#7 /nas/content/live/mysite/wp-includes/plugin.php(470): WP_Hook->do_action(
   Array)\n#8 /nas/content/live/mysite/wp-admin/admin-ajax.php(187): do_action('
   wp_ajax_wpf_edi...')\n#9 {main}\n thrown in /nas/content/live/mysite/wp-content/
   plugins/themify-wc-product-filter/includes/class-wpf-form.php on line 407, referer:
   https://mysite.wpengine.com/wp-admin/admin.php?page=wpf_search`
 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15192463)
 * [@weaselnerd](https://wordpress.org/support/users/weaselnerd/) – Thanks for flagging
   this to us. Will report to our development team to fix this. It will be fixed
   in the next update.
    -  This reply was modified 4 years, 4 months ago by [themifyme](https://wordpress.org/support/users/themifyme/).
    -  This reply was modified 4 years, 4 months ago by [themifyme](https://wordpress.org/support/users/themifyme/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Add new filter doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/themify-wc-product-filter/assets/icon-128x128.png?rev=1535808)
 * [Themify - WooCommerce Product Filter](https://wordpress.org/plugins/themify-wc-product-filter/)
 * [Support Threads](https://wordpress.org/support/plugin/themify-wc-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themify-wc-product-filter/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [themifyme](https://wordpress.org/support/users/themifyme/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/add-new-filter-doesnt-work/#post-15192463)
 * Status: resolved