Title: maximsc's Replies | WordPress.org

---

# maximsc

  [  ](https://wordpress.org/support/users/maximsc/)

 *   [Profile](https://wordpress.org/support/users/maximsc/)
 *   [Topics Started](https://wordpress.org/support/users/maximsc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/maximsc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/maximsc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/maximsc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/maximsc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/maximsc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [2.5 – Fatal Error: Cannot use string offset as an array, line 46 dashboard.php](https://wordpress.org/support/topic/25-fatal-error-fatal-error-cannot-use-string-offset-as-an-array/)
 *  [maximsc](https://wordpress.org/support/users/maximsc/)
 * (@maximsc)
 * [18 years ago](https://wordpress.org/support/topic/25-fatal-error-fatal-error-cannot-use-string-offset-as-an-array/#post-725338)
 * BTW, FYI, Here’s the reason that the dashboard widget options “somehow” got corrupted:
 * The `option_value` for `dashboard_widget_options` is a serialized object (like
   many other values in that table). The PHP serialization syntax depends on the
   lengths of strings being fixed. In the process of transferring the data from 
   my local machine to the live server, I dumped the database (using MySQLDump) 
   and did a search-and-replace on `localhost`, changing it to the real domain (`
   www.saverskeepers.com`, in my case). “www.saverskeepers.com” is 12 characters
   longer than “localhost”, and that threw off the deserialization when the option
   was read back in.

Viewing 1 replies (of 1 total)