Viewing 1 replies (of 1 total)
  • Plugin Support Abdul Mujeeb

    (@mujeebahsan)

    Thank you for reaching out and for sharing the error details. The warnings you’re seeing are related to deprecated PHP functions in the latest versions of WordPress and PHP. These warnings won’t affect the functionality of the plugin, but they can be hidden by disabling debug mode in your wp-config.php file

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/wp-includes/functions.php on line 7329

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



    ​Open your website wp-config.php file and above /* That’s all, stop editing! Happy publishing. */

    Remove
    define( ‘WP_DEBUG’, false );

    Paste this piece of code
    ini_set(‘display_errors’,’ Off’);
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);

    You can also check WordPress documentation https://ww.wp.xz.cn/documentation/article/debugging-in-wordpress/

    It will remove all warnings.

Viewing 1 replies (of 1 total)

The topic ‘Deprecated errors after activation’ is closed to new replies.