WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Plugin shows many PHP warnings (4 posts)

  1. Daniel Fru?y?ski (sirzooro)
    Member
    Posted 4 years ago #

    Hi,
    When WP is in debug mode, PHP displays many warnings sourced in Custom Post Type UI code. Could you fix them?

    BTW, you can switch WP to debug mode by adding following line to wp-config.php:
    define('WP_DEBUG', true);

  2. Brad Williams
    Member
    Plugin Author

    Posted 4 years ago #

    I develop with WP_DEBUG enabled, so I'm surprised you are getting warnings because I am not. Can you post what warnings you see? I'll make sure to fix in the next release

  3. Daniel Fru?y?ski (sirzooro)
    Member
    Posted 4 years ago #

    [moderated] Use a pastebin.
    http://wordpress.pastebin.com/S89CRn5k

  4. Daniel Fru?y?ski (sirzooro)
    Member
    Posted 4 years ago #

    One more note: I have just fixed the code by adding isset() check for every warning.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic