• After many happy months of using your fantastic plugin, it’s failing with an error:

    pte is not defined
    [Break On This Error] 	
    
    jQuery(function(){ pte.editor(); });

    I assume it’s another plugin that it’s having a conflict with though the prospect of de-installing all the plugins just to have to reinstall and reconfigure is a daunting process. Any suggestions, since the problem exists in the admin?

    I can provide a screen capture for anyone interested in helping.

    Thanks!

    http://ww.wp.xz.cn/extend/plugins/post-thumbnail-editor/

Viewing 10 replies - 16 through 25 (of 25 total)
  • Plugin Author sewpafly

    (@sewpafly)

    What about this one: find * -iname '*.php' | xargs grep -li 'WP_Scripts'

    Thread Starter David Radovanovic

    (@dpaule)

    [myserver plugins]$ find * -iname '*.php' | xargs grep -li 'WP_Scripts'
    gravityforms/form_display.php
    gravityforms/gravityforms.php
    wp-pagenavi/scb/Util.php
    Plugin Author sewpafly

    (@sewpafly)

    Can you try disabling the gravity forms plugin, then testing PTE again?

    Then repeat with the wp-pagenavi (I am not familiar with this one).

    If you can find which one (or both) causes the problem, I’ll install those plugins and try to find a solution.

    Thread Starter David Radovanovic

    (@dpaule)

    it was the gravity forms Version 1.6.3.3.2

    Plugin Author sewpafly

    (@sewpafly)

    Because the plugin is closed source and I can’t appear to post on the forums, can you submit a bug report? I’m not sure if they will respond, but I am willing to work with their team to get the issue resolved.

    If you want to take a crack at fixing their code, the fix could be pretty simple, you can grep through their code to find where they initialize their java code (it’s in some wordpress hook) and then if defined('DOING_AJAX') is set they shouldn’t run their stuff.

    Thread Starter David Radovanovic

    (@dpaule)

    I posted a bug report. We’ll see if a response follows. I hate to deactivate Gravity Forms though your plugin is essential. Thanks for your generous support.

    Thread Starter David Radovanovic

    (@dpaule)

    sewpafly-

    You think there’s a simple way to wp_dequeue_script gravity scripts on the post thumbnail editor page?

    Plugin Author sewpafly

    (@sewpafly)

    Without looking at the code, I couldn’t say for certain. However my initial feeling is no, there isn’t an easy way to dequeue any other plugins scripts with the current method that pte uses. 

    Thread Starter David Radovanovic

    (@dpaule)

    Sewpafly,

    So the problem was with the way Gravity Forms installation was configured. As quoted by Alex of Gravity Forms support (very responsive);

    “…. Your instance of Gravity Forms was running with “No-conflict” enabled. When that is enabled, Gravity Forms prevents scripts from being enqueued on certain areas of the site. The purpose of this feature is to reduce conflicts on the Gravity Forms pages, but apparently there is a glitch in this feature that disables scripts from the admin-ajax.php file. I will be looking into that, but I disabled the “No-conflict” mode on your site and the post thumbnail editor seems to be back to normal.”

    Thanks for your great support.

    Plugin Author sewpafly

    (@sewpafly)

    Great news. Thanks for updating the thread!

Viewing 10 replies - 16 through 25 (of 25 total)

The topic ‘[Plugin: Post Thumbnail Editor] pte not defined rror’ is closed to new replies.