WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail Editor
[resolved] Errors in Debug Mode (3 posts)

  1. Robert Chapin
    Member
    Posted 3 years ago #

    Notice: Use of undefined constant PTE_PLUGINURL - assumed 'PTE_PLUGINURL' in post-thumbnail-editor.php on line 32

    Notice: Use of undefined constant PTE_PLUGINPATH - assumed 'PTE_PLUGINPATH' in post-thumbnail-editor.php on line 33

    Notice: Use of undefined constant PTE_VERSION - assumed 'PTE_VERSION' in post-thumbnail-editor.php on line 34

    http://wordpress.org/extend/plugins/post-thumbnail-editor/

  2. Robert Chapin
    Member
    Posted 3 years ago #

    BTW it's a simple syntax error...

    define( PTE_PLUGINURL, plugins_url(basename( dirname(__FILE__))) . "/");
    define( PTE_PLUGINPATH, dirname(__FILE__) . "/");
    define( PTE_VERSION, "0.2");

    ... should be ...

    define( 'PTE_PLUGINURL', plugins_url(basename( dirname(__FILE__))) . "/");
    define( 'PTE_PLUGINPATH', dirname(__FILE__) . "/");
    define( 'PTE_VERSION', "0.2");
  3. sewpafly
    Member
    Plugin Author

    Posted 3 years ago #

    Okay, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic