• Resolved locker17

    (@locker17)


    I am getting these warnings:
    strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

    1. wp-includes/functions.php:7329

    Deprecated str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated wp-includes/functions.php:2189

    Query monitor says the source of this is wpforms. I am using PHP version 8.2.27

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

    (@amjadali688)

    Hi @locker17 ,

    Thank you for reaching out!

    I’ve reviewed the error log and I’d recommend enabling debug logging to capture more details about when these warnings appear.

    You can do this by adding the following to your wp-config.php file:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'log_errors', 1 );
    @ini_set( 'display_errors', 0 );


    This will log warnings in a file located at /wp-content/debug.log, which might provide more context.

    Could you also share the complete stack trace from the debug log? That would help us check if the issue is related to WPForms.

    Thanks!

    Plugin Support Amjad Ali

    (@amjadali688)

    Hi @locker17 ,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.