• Resolved Heena

    (@heenathakkar)


    When the plugin is activated, we are getting following PHP warnings:

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

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

    https://prnt.sc/NzCVgrAWkw0d

    These warnings are coming from wp-content\plugins\wp-user-frontend\includes\class-whats-new.php line no. 67

    add_submenu_page( null, ( ‘Whats New’, ‘wp-user-frontend’ ), ( ‘Whats New’, ‘wp-user-frontend’ ), ‘manage_options’, ‘whats-new-wpuf’, [ $this, ‘menu_page’ ] );

    If we change the first parameter to ‘wpuf-post-forms’ then the warnings are not coming.

    Is there any way we can resolve this without changing the plugin files?

    Thank You

    • This topic was modified 1 year, 6 months ago by Heena.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Md. Yeasin

    (@mdmamun-1)

    Hi @heenathakkar,

    We are not getting such an issue.
    Please make sure that you are using the latest version of WordPress and other plugins on your site. If yes, this is site-specific, it needs to be checked & investigated in every possible way so kindly contact directly through?the website. I hope they will take the necessary steps.

    Regards!

    Thread Starter Heena

    (@heenathakkar)

    Hi,

    Yes, I am using the latest version of WordPress and I got this warning when switching to a custom user role with only read permission. Also tried reinstalling WordPress and activating the default theme.

    And I have checked this after deactivating all the other plugins.

    Thank You

    Plugin Support Saiful Islam

    (@saifislam01)

    Hi @heenathakkar,

    If the problem persists after installing the latest version of the plugin, kindly contact us through?the website?for further assistance.

    Regards!

    Incorrect thread

    • This reply was modified 1 year, 6 months ago by devmoc.
    • This reply was modified 1 year, 6 months ago by devmoc.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning message on the Dashboard’ is closed to new replies.