Notice: Undefined index: rewrite_withfront in custom-post-type-ui.php on line 100
The plugin from WordPress.org throws this error through admin with debugging enabled.
I see that the GitHub version has ternary reversed and set to isset. Isset does fix it. Opening the issue because while I haven't tested the GitHub code, if that works, the wordpress.org version needs updating.
Not trying to be dismissive, but it's not something warranting a point release for. It won't break anything. It will be something fixed whenever I finally get 0.9 done, but not sure when that will be at this point.
Thank you for pointing us to it regardless. Quick fix it if you need to to get it to go away for the time being.
No worries, I hard edited my plugin with the expectation it will get fixed in a future release. Appreciate you responding as fast as you did, it was brought up by the end user (on the staging site) as it was on every page in the admin panel. Cheers!
Hi,
Any updates on when this bug will be fixed? Getting annoying to work on staging sites with this notice showing up all over...
Notice: Undefined index: rewrite_withfront in custom-post-type-ui.php on line 100
@audvin are you uptodate with the version on wordpress.org? I can write a 1 line change for you if you really want to get rid of it in the meantime while the next version still slowly gets worked on.
This really needs to get fixed. Uninstalling and getting rid of this plugin on a lot of sites that it is now affecting
https://github.com/WebDevStudios/custom-post-type-ui/issues/275
They were simple notices that weren't having any negative effect. Once WP_DEBUG is disabled, they wouldn't even show up. I fixed it at one point, but then had to remove it again because unintended logic was executing thanks to string '0' evaluating to true for the empty() check. This was a way that the settings were saved in the pre-1.0.x version, and I store string "true" and "false" in the new settings, which will keep me a bit sane in this department.
The problem is that if sites have errors, there is a lot of extra 'noise' being generated making it more difficult to debug
If you really insist, I can tell you how to get the errors cleared out for your own installs, and even provide the copy of the file to use for it.
Hi there, I know how to clear the errors. There are so many plugins that exhibit these sorts of errors it just gets frustrating... no problem anyway. I know none of us have time supporting stuff for free :)
For what it's worth, I kept on it for all the other areas of the plugin, whenever I could.