Title: bug
Last modified: August 24, 2016

---

# bug

 *  Resolved [xenod](https://wordpress.org/support/users/xenod/)
 * (@xenod)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/)
 * bad interaction with WP-Obfuscator
    when wp_config.php is obfuscated this plugin
   give a blank page
 * how to reproduce:
    – instal [WP-Obfuscator](http://wordpress.org/plugins/wp-obfuscator/)–
   obfuscate wp-config.php – go to dashboard > user > login log
 * [https://wordpress.org/plugins/user-login-log/](https://wordpress.org/plugins/user-login-log/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005520)
 * Hello xenod
 * I will test it with WP-Obfuscator. I will try my best to found a solution if 
   there any problem is found.
 *  Thread Starter [xenod](https://wordpress.org/support/users/xenod/)
 * (@xenod)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005611)
 * thanks for your reponse
 * in db informations are writed but not visible in admin page thats’s strange
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005642)
 * Hello Xnod,
 * Follow my instruction to resolve this issue-
 * Step-1 : Open your admin plugin directory.
 * Step-2 : Open plugin **user-login-log** folder. Here you will see **user-login-
   log.php** file, Open it on any editor.
 * Step-3 : Now go to near line no. 887 and add below code there
 *     ```
       $ull = new UserLoginLog();
       ```
   
 * **Note –** add this line after below line
    **global $wpdb, $ull;**
 * Step-4 : Save your file and then view login log table.
 * Please let us know if there’s anything else we can do for you today. We’ll be
   glad to help!
 * Thanks
 *  Thread Starter [xenod](https://wordpress.org/support/users/xenod/)
 * (@xenod)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005655)
 * $ull is setup here ->
    **start line 694**
 *     ```
       if( class_exists( 'UserLoginLog' ) )
       {
           $ull = new UserLoginLog;
           //Register for activation
           register_activation_hook( __FILE__, array(&$ull, 'install') );
   
       }
       ```
   
 * **end line 700**
    $ull = new UserLoginLog(); is not defined in other place
 * near line 887 in the prepare_item() function i already have global $wpdb, $ull;
 * start line 877
 *     ```
       function prepare_items()
           {
               global $wpdb, $ull;
   
               //get number of successful and failed logins so we can display them in parentheces for each view
   
               //building a WHERE SQL query for each view
       ....
   
       $this->set_pagination_args( array(
                   'total_items' => $total_items,                  //WE have to calculate the total number of items
                   'per_page'    => $per_page,                     //WE have to determine how many items to show on a page
                   'total_pages' => ceil($total_items/$per_page)   //WE have to calculate the total number of pages
               ) );
   
           }
       }
       ```
   
 * //eof line 991
 * but it still dont work
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005656)
 * You have to need paste below code at near line no. 887
 * `$ull = new UserLoginLog();`
 * So copy above line and then paste at near line no. 887
 * Thanks
 *  Thread Starter [xenod](https://wordpress.org/support/users/xenod/)
 * (@xenod)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005660)
 * thanks for your help
    now it’s work fine
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/bug-100/#post-6005661)
 * You are welcome.
 * Please let us know if there’s anything else we can do for you today. We’ll be
   glad to help!
 * Thanks
 *  Thread Starter [xenod](https://wordpress.org/support/users/xenod/)
 * (@xenod)
 * [11 years ago](https://wordpress.org/support/topic/bug-100/#post-6005799)
 * sorry but you missed this corection in the new version (v1.7)
 * manually added:
 *     ```
       L880: global $wpdb, $ull;
       L881: $ull = new UserLoginLog(); //add this line
       ```
   
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years ago](https://wordpress.org/support/topic/bug-100/#post-6005800)
 * Thanks xenod for remind me i am really forgot this.
 * Ok i will update it now.
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years ago](https://wordpress.org/support/topic/bug-100/#post-6005801)
 * Code has been added in version 1.8
 * Thanks

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-login-log_97949d.svg)
 * [User Login Log](https://wordpress.org/plugins/user-login-log/)
 * [Support Threads](https://wordpress.org/support/plugin/user-login-log/)
 * [Active Topics](https://wordpress.org/support/plugin/user-login-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-login-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-login-log/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/bug-100/#post-6005801)
 * Status: resolved