Title: Fatal Error on multisite
Last modified: November 13, 2017

---

# Fatal Error on multisite

 *  Resolved [w3dev](https://wordpress.org/support/users/w3dev/)
 * (@w3dev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/)
 * Line 28 of custom-post-type-ui/inc/utility.php is generating a fatal error on
   our Multisite installation.
 * Error is fixed by commenting out line 28.

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/#post-9679253)
 * Can you please provide the fatal error message in question.
 * Line 28 is: `unset( $links['edit'] );` which as far as I am aware, shouldn’t 
   be generating a fatal error. Knowing the message and reason will help me debug
   what may be going on.
 *  Thread Starter [w3dev](https://wordpress.org/support/users/w3dev/)
 * (@w3dev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/#post-9679264)
 * Yup, that’s the line in question. Here’s the error.
 * `[13-Nov-2017 17:39:51 UTC] PHP Fatal error: Cannot unset string offsets in /
   www/wp-content/plugins/custom-post-type-ui/inc/utility.php on line 28`
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/#post-9679379)
 * If i’m understanding everything correctly, for some reason the callback is receiving
   a string value instead of an array like expected.
 * Interesting.
 * it’s fine to leave commented out, as all it does is edit the list of links below
   a plugin listing, activate/deactivate/edit, etc. However i’ll want to make sure
   it doesn’t fatal in the future
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/#post-9679439)
 * For anyone wanting to follow along.
 * [https://github.com/WebDevStudios/custom-post-type-ui/issues/672](https://github.com/WebDevStudios/custom-post-type-ui/issues/672)

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

The topic ‘Fatal Error on multisite’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-multisite-3/#post-9679439)
 * Status: resolved