• Resolved John Clause

    (@johnclause)


    It looks like you need line

    $temp = strlen( $_SERVER['REQUEST_URI'] ) - 10;

    in front of line 227 of /wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php:

    if( strpos( $_SERVER['REQUEST_URI'], 'edit.php' ) !== false || ( $temp >= 0 && strpos($_SERVER['REQUEST_URI'], '/wp-admin/', $temp) !== false ) ) {

    otherwise the following error message is generated when WP_DEBUG is on:

    Notice: Undefined variable: temp in /wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php on line 114

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Undefined variable: temp’ is closed to new replies.