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:
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Reports Debug PHP Warning error’ is closed to new replies.