Title: Tiny critical error
Last modified: August 21, 2016

---

# Tiny critical error

 *  Resolved [timbr](https://wordpress.org/support/users/brugman/)
 * (@brugman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/)
 * Hi. I’m getting an undefined offset 1 at line 496 in rename-wp-login.php. Could
   you patch this? It requires an isset().
 * Thanks!
 * [https://wordpress.org/plugins/rename-wp-login/](https://wordpress.org/plugins/rename-wp-login/)

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

 *  Plugin Author [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717738)
 * Which version of WordPress are you running? Could you var_dump( $GLOBALS[‘wp_version’]);?
   If you get this error it means it doesn’t have a minor version number, which 
   is weird…
 *  Thread Starter [timbr](https://wordpress.org/support/users/brugman/)
 * (@brugman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717743)
 * That var outputs 3.8.1, but I’m also running a security plugin which might obscure
   the version number when obtained through a WP function.
 *  Plugin Author [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717747)
 * It’s not obtained through a function… Could you var_dump it just were the plugin
   is giving a notice? Sorry, I really need to know why there is unexpected output
   there. I’m also guessing that when you go to your login page, there’s something
   wrong with the stylesheets? You’re running rwl-login-3.9.php instead of rwl-login-
   3.8.php.
    I’d be really grateful if you could check, because this is pretty critical
   for future WP versions…
 *  Thread Starter [timbr](https://wordpress.org/support/users/brugman/)
 * (@brugman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717754)
 * No problem. I can confirm the security plugin hides up the version when pre-printed
   from within the plugin. This is just me F5ing: [http://i.imgur.com/X076sLX.png](http://i.imgur.com/X076sLX.png)
   Could you make it work with a fake version number?
 *  Plugin Author [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717767)
 * That’s bad. No plugin should change that. Unfortunately this plugin requires 
   3.8 and uses different files based on the version. If your security plugin changes
   it to a version lower than 3, this plugin will not work at all because of
 *     ```
       if ( version_compare( $wp_version, '3.8', '<' ) ) {
   
       	return;
   
       }
       ```
   
 *  Thread Starter [timbr](https://wordpress.org/support/users/brugman/)
 * (@brugman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717768)
 * It’s a feature of Better WP Security (soon iThemes Security), they warn it might
   break plugins so I can’t fault either of you but I value the vulnerability it
   patches.
 * To make rename wp-login compatible I would check if there is a sub-version, if
   not, disregard the version and assume its running the latest WordPress.
 *  Plugin Author [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717780)
 * Not easy to do. I added 3.9 compatibility before 3.9 gets released. So the latest
   version would be 3.9, but you’re running 3.8. So I’d have to manually change 
   the version on the date of the release or after (will cause breakage), or guess
   the date and time WordPress upgrades itself (impossible). All I can say it’s 
   a very bad idea to change the version number. A lot of things rely on it, even
   in core. If you want to hide the version, you should just make sure it’s not 
   revealed on the front-end. You should hide the generator tag and query strings
   attached to scripts.
 *  Plugin Author [Ella Van Durpe](https://wordpress.org/support/users/ellatrix/)
 * (@ellatrix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717781)
 * I’ll fix this problem, but by fixing it, it will be unusable if you change the
   version. I’ll have to require a minor version number.
 *  Thread Starter [timbr](https://wordpress.org/support/users/brugman/)
 * (@brugman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717782)
 * I see, I didn’t think about the 3.9 part. For now I’ve disabled the security 
   feature. Thanks for your very speedy help. 🙂

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

The topic ‘Tiny critical error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rename-wp-login.svg)
 * [Rename wp-login.php](https://wordpress.org/plugins/rename-wp-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rename-wp-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rename-wp-login/)
 * [Active Topics](https://wordpress.org/support/plugin/rename-wp-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rename-wp-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rename-wp-login/reviews/)

## Tags

 * [offset](https://wordpress.org/support/topic-tag/offset/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)

 * 9 replies
 * 2 participants
 * Last reply from: [timbr](https://wordpress.org/support/users/brugman/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/tiny-critical-error/#post-4717782)
 * Status: resolved