Title: Notice: unserialize() &#8211; Please patch!
Last modified: August 20, 2016

---

# Notice: unserialize() – Please patch!

 *  [John Peden](https://wordpress.org/support/users/jcpeden/)
 * (@jcpeden)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/notice-unserialize-please-patch/)
 * Keep getting this notice, please can you patch?
 * Notice: unserialize(): Error at offset 0 of 123 bytes in /media/sf_sites/solas-
   lite/wp-content/plugins/better-wp-security/inc/secure.php on line 20
 * Thanks
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [apodner](https://wordpress.org/support/users/apodner/)
 * (@apodner)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/notice-unserialize-please-patch/#post-3526458)
 * VERSION 3.4.8
 * This error appears to be caused by either
    a) resetting the users password to
   a password that is not considered as strong. The user password can be changed
   in the admin panel to a weak password after account creation, but it cannot be
   made weak during user registration.
 * or
 * b) Erroneous data being written into the user meta database table
 * or
 * c) using the password reset feature
 * QUICK FIXES TO TRY:
    1) If there is a user who still has access, go to the administration
   panel and reset the password to a strong password (8 characters, a capitial, 
   a number, and a symbol)
 * 2) Go to the database and in the users meta table, set the value of `[dbprefix]
   _capabilities` for the user to: `a:1:{s:13:"administrator";s:1:"1";}`
 * 3)restore a database backup from a time prior to the problem occurring, if that
   is an option
 * OTHER INFORMATION FOR THE DEVELOPER:
    1) The password reset feature does not 
   work properly, at least it doesn’t if you are using the login rewrite feature
 * 2) You probably should not be able on the user panel to reset a user password
   to a weak password as this will also cause the behavior
 * Good Luck

Viewing 1 replies (of 1 total)

The topic ‘Notice: unserialize() – Please patch!’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [apodner](https://wordpress.org/support/users/apodner/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/notice-unserialize-please-patch/#post-3526458)
 * Status: not resolved