• Resolved VinzClortho

    (@vinzclortho)


    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:

    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:

    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

    (@fesupportteam)

    Hi @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

    (@vinzclortho)

    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

    (@fesupportteam)

    Hi @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.