Title: Reports Debug PHP Warning error
Last modified: April 21, 2024

---

# Reports Debug PHP Warning error

 *  Resolved [VinzClortho](https://wordpress.org/support/users/vinzclortho/)
 * (@vinzclortho)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/reports-debug-php-warning-error/)
 * The plugin works correctly, but it reports the following error in debug, which
   is repeated every time a filter is applied on the front-end:
 *     ```wp-block-code
       PHP Warning: Array to string conversion in G:\xampp81\htdocs\wp_test\wp-content\plugins\filter-everything\src\wpc-helpers.php on line 1693
       ```
   
 * The function it refers to is the following:
 *     ```wp-block-code
       function flrt_string_polyfill( $string ) {
           $str = preg_replace('/\x00|<[^>]*>?/', '', $string );
           return str_replace( ["'", '"'], [''', '"'], $str );
       }
       ```
   
 * Staging development environment:
    - localhost (xampp)
    - php: 8.1.25
    - wordpress: 6.5.2
    - theme: Storefront 4.5.5
    - installed plugins: Woocommerce 8.8.2 and Filter Everything 1.8.4
 * Hope you can provide a fix in the next update.
 * Greetings

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

 *  Plugin Support [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * (@fesupportteam)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/reports-debug-php-warning-error/#post-17704092)
 * Hi [@vinzclortho](https://wordpress.org/support/users/vinzclortho/)
 * Did you try to install our plugin on the clean WP with the default theme, and
   check if there is such an issue? We cannot recreate it on our back.
 * Best Regards – Victor
 *  Thread Starter [VinzClortho](https://wordpress.org/support/users/vinzclortho/)
 * (@vinzclortho)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/reports-debug-php-warning-error/#post-17707894)
 * Hi Fesupportteam
 * Yes, the problem occurs in a clean test environment, with Storefront theme, and
   only the Woocommerce and Filter Everything plugins, all updated. You can see 
   my test environment setup in my initial message.
 * Greetings
 *  Plugin Support [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * (@fesupportteam)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/reports-debug-php-warning-error/#post-17710410)
 * Hi [@vinzclortho](https://wordpress.org/support/users/vinzclortho/)
 * Please find our PRO version and write your request there in the comments section,
   so we can check it in more detail.
 * Best Regards – Victor

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

The topic ‘Reports Debug PHP Warning error’ is closed to new replies.

 * ![](https://ps.w.org/filter-everything/assets/icon-256x256.png?rev=3487105)
 * [Filter Everything — WordPress & WooCommerce Filters](https://wordpress.org/plugins/filter-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filter-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filter-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/filter-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filter-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filter-everything/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [fesupportteam](https://wordpress.org/support/users/fesupportteam/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/reports-debug-php-warning-error/#post-17710410)
 * Status: resolved