Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7068
    [email protected]
    Participant

    Halo,

    I had install the User Role Editor Pro plugin in my wordpress website. Unfortunately that I found a lot of warning message in my PHP Log server like:

    PHP Warning: strpos() Empty needle in /var/www/html/wp-content/plugins/user-role-editor-pro/pro/includes/plugin-update-checker.php on line 628, referer: domain

    May I know how to fix this issue or how can I ignore this issue from the plugin files?

    Thank you!

    Best Regards,
    Leo

    #7069
    Vladimir
    Keymaster

    Hi,

    Replace line 628 with this version:

    
    if ( !empty( $muPluginDir ) ) {
         $cachedResult = ( strpos( $pluginPath, $muPluginDir ) === 0 );                            
    }
    

    I will include this change into the next update of URE Pro.

    #7084
    [email protected]
    Participant

    Hi Vladimir,

    The PHP Error Message has been removed after replaced your suggested code. Thanks for the help!

    Best Regards,
    Leo

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