• Resolved Ionut Staicu

    (@iamntz)


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

    This is caused by this line:

    wp_register_script(self::WPDISCUZ_FEEDBACK_SHORTCODE . "-shortcode-js", null);

    inside wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1186

    This is fixed by changing null to '' (empty string).

    I’m using 7.5.4

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

    (@gvectorssupport)

    The issue will be fixed in the next version of the wpDiscuz plugin. Please wait for the next update, it’ll come soon.

    Plugin Support gVectors Support

    (@gvectorssupport)

    Please update the wpDiscuz plugin to the latest version (v. 7.6.0) and check again. The issue should be solved.??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_register_script causes deprecation notice in PHP 8.1’ is closed to new replies.