Title: unserialize(): Error at offset
Last modified: June 20, 2018

---

# unserialize(): Error at offset

 *  Resolved [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/)
 * The plugin is generating this php “notice” on pages.
 * **unserialize(): Error at offset 60 of 129 bytes**
 * or something similar to that with the bytes varying
 * The notice is being generated at:
    /redirection/matches/referrer.php:63
 * Any idea why this is happening or how to correct it?
    -  This topic was modified 8 years, 2 months ago by [zerokarma](https://wordpress.org/support/users/zerokarma/).

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/#post-10429834)
 * One of your referrer redirects is broken in some way. If you can try and locate
   it and delete it then the message will go away.
 *  Thread Starter [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/#post-10432755)
 * Is there any way to trackdown which redirect might be causing it?
 * I have hundreds of redirects? I would be very difficult to test each one.
 *  Thread Starter [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/#post-10433058)
 * Ok I have an update.
 * I managed to track down the broken redirects.
 * I am not sure how this happened but it appears there were two old redirects that
   did not appear to have any URL setup to forward to.
 * Those two redirects without any forwarding url is what was causing the PHP notice
   error.
 * Once I deleted them the warnings went away.
 *  Thread Starter [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * (@zerokarma)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/#post-10441786)
 * Marking as fixed

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

The topic ‘unserialize(): Error at offset’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [zerokarma](https://wordpress.org/support/users/zerokarma/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/unserialize-error-at-offset-2/#post-10441786)
 * Status: resolved