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
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