Title: PHP Errors
Last modified: June 28, 2018

---

# PHP Errors

 *  Resolved [Dima Stefantsov](https://wordpress.org/support/users/dima-stefantsov/)
 * (@dima-stefantsov)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/)
 * Hi. Your filter rules. I’m getting a lot of errors though:
 *     ```
       [28-Jun-2018 18:32:35 UTC] [2018-06-28 18:32:35] whoops_logger.ERROR: Whoops\Exception\ErrorException: Array to string conversion in file C:\www\wp-includes\formatting.php on line 1045
       Stack trace:
         1. Whoops\Exception\ErrorException->() C:\www\wp-includes\formatting.php:1045
         2. Whoops\Run->handleError() C:\www\wp-includes\formatting.php:1045
         3. wp_check_invalid_utf8() C:\www\wp-includes\formatting.php:3952
         4. esc_html() C:\www\wp-content\plugins\woocommerce-products-filter\classes\helper.php:32
         5. WOOF_HELPER->escape() C:\www\wp-content\plugins\woocommerce-products-filter\index.php:1788
         6. WOOF->get_request_data() C:\www\wp-content\plugins\woocommerce-products-filter\index.php:1803
         7. WOOF->is_isset_in_request_data() C:\www\wp-content\plugins\woocommerce-products-filter\index.php:277
         8. WOOF->init() C:\www\wp-includes\class-wp-hook.php:286
         9. WP_Hook->apply_filters() C:\www\wp-includes\class-wp-hook.php:310
        10. WP_Hook->do_action() C:\www\wp-includes\plugin.php:453
        11. do_action() C:\www\wp-settings.php:450
        12. require_once() C:\www\wp-config.php:112
        13. require_once() C:\www\wp-load.php:37
        14. require_once() C:\www\wp-admin\admin-ajax.php:22
        [] []
       ```
   
 * Could you look into it?

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

 *  [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * (@pavloborysenko)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10447745)
 * Hello
 * Thank you for info. I will pass it to developers
 *  Plugin Author [RealMag777](https://wordpress.org/support/users/realmag777/)
 * (@realmag777)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10448517)
 * Hello
 * That is notices, and we will investigate it and resolve it. If we will not catch
   it on our side we invite you for cooperation
 *  [pavloborysenko](https://wordpress.org/support/users/pavloborysenko/)
 * (@pavloborysenko)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10448705)
 * Hello
 * Try in file – plugins\woocommerce-products-filter\index.php
 * add this code – [https://c2n.me/3V9p49w.png](https://c2n.me/3V9p49w.png)
 *     ```
                       if(!is_string($key) OR !is_string($value)){
                           continue;
                       }
       ```
   
 *  Thread Starter [Dima Stefantsov](https://wordpress.org/support/users/dima-stefantsov/)
 * (@dima-stefantsov)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10450126)
 * “That is notices” nope, that is errors, stopping my backend from using AJAX, 
   everything-ajax fails, server-side error 500.
 * Nope, your fix didn’t help, still getting same error.
 * Even if this fix worked, it is obviously wrong. WOOF should not enumerate anything
   in admin panel. Nor in any pages that is not related to Products.
 * [http://4.stefantsov.com/s/2018.06.30_10.53.14_3trgbdpb.png](http://4.stefantsov.com/s/2018.06.30_10.53.14_3trgbdpb.png)
   it fails in ajax of SimpleHistory plugin, your code is working for something 
   like that.
 * It should not, at all.
 *  Plugin Author [RealMag777](https://wordpress.org/support/users/realmag777/)
 * (@realmag777)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10454113)
 * Hello
 * That is good that you gave us more info, we will make testing with this plugin
   [https://ru.wordpress.org/plugins/simple-history/](https://ru.wordpress.org/plugins/simple-history/)
   and apply action

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

The topic ‘PHP Errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-filter/assets/icon-256x256.png?rev=
   2844301)
 * [HUSKY - Products Filter Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-products-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-filter/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [RealMag777](https://wordpress.org/support/users/realmag777/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/php-errors-130/#post-10454113)
 * Status: resolved