Forums

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

  1. Robert Chapin (miqrogroove)
    Member
    Posted 11 months 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 (miqrogroove)
    Member
    Posted 11 months 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
    Posted 11 months ago #

    Okay, thanks!

Reply

You must log in to post.

About this Plugin

About this Topic