Title: [Minibug fix] undefined variable error &#8211; 404 table
Last modified: August 20, 2016

---

# [Minibug fix] undefined variable error – 404 table

 *  Resolved [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/)
 * Hiya, just upgraded to 3.4.6 and noticed a mini-bug (undefined variable). Please
   accept the below fix as a compliment to your plugin.
 * File: /inc/admin/tables.php
 * Find line 185:
 *     ```
       $data[$error['url']]['id'] = $error['id'];
       $data[$error['url']]['url'] = $error['url'];
       }
       ```
   
 * Replace with:
 *     ```
       $data[$error['url']]['id'] = $error['id'];
       $data[$error['url']]['url'] = $error['url'];
       $data[$error['url']]['last'] = $error['timestamp'];
       }
       ```
   
 * Hope this helps!
 * Smile,
    Juliette
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

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

 *  Thread Starter [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243639)
 * On second look, disregard my previous code. The better fix would be:
 * Find line 173:
 *     ```
       $data[$error['url']]['time'] = $data[$error['url']]['time'] > $error['timestamp'] ? $data[$error['url']]['last'] : $error['timestamp'];
       ```
   
 * Replace with:
 *     ```
       $data[$error['url']]['time'] = $data[$error['url']]['time'] > $error['timestamp'] ? $data[$error['url']]['time'] : $error['timestamp'];
       ```
   
 *  [Bit51 (part of the iThemes family)](https://wordpress.org/support/users/bit51/)
 * (@bit51)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243642)
 * Thank you. I’ll get this in the dev version later today.
 *  Thread Starter [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243678)
 * Excellent!
 *  [Bit51 (part of the iThemes family)](https://wordpress.org/support/users/bit51/)
 * (@bit51)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243701)
 * Admittedly it took longer than I thought to get to this but you can find this
   fix in trunk or wait until the next version.
 * Thanks!
 *  Thread Starter [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243703)
 * No worries, as long as it makes to the plugin core, I’m happy.

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

The topic ‘[Minibug fix] undefined variable error – 404 table’ is closed to new 
replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/minibugfix-undefined-variable-error-404-table/#post-3243703)
 * Status: resolved