• Hi, after updating plugin to the newest version, the following PHP warning is now logged multiple times on our website every day:

    PHP Warning: strpos(): Empty needle in /plugins/product-input-fields-for-woocommerce/includes/alg-wc-pif-functions.php on line 141

    The corresponding code that triggers the error is:

    $jqueryui_format .= ( isset( $symbols_matching[ $char ] ) && strpos( $jqueryui_format,?$symbols_matching[ $char ]?) !== false ) ? $symbols_matching[ $char ] : $char;

    Could your team consider modifying the code to resolve the warning? Thank you for any advice/support related to this issue.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support oluisrael

    (@oluisrael)

    @devbd apologies for not updating this thread sooner. Can you please let me know the PHP version your site is running on and the WooCommerce version currently active on your site?

    Thread Starter devbd

    (@devbd)

    Hi, PHP version we use is 7.4.33. WooCommerce version is 7.9.0.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: strpos(): Empty needle’ is closed to new replies.