• Resolved w3dev

    (@w3dev)


    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

    (@tw2113)

    The BenchPresser

    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

    (@w3dev)

    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

    (@tw2113)

    The BenchPresser

    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

    (@tw2113)

    The BenchPresser

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

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