WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Post Thumbnail Editor] Errors in Debug Mode

[Resolved] [Plugin: Post Thumbnail Editor] Errors in Debug Mode

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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");
    Plugin Author sewpafly

    @sewpafly

    Okay, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Post Thumbnail Editor] Errors in Debug Mode’ is closed to new replies.