Support » Plugin: Code Snippets » Outstanding plugin… but last version = BUG

  • Resolved darlio

    (@darlio)



    Hello,
    This is one of the best ever plugin I ever used !

    As my first words are usually read… first, I wanted people to know how helpful this plugin is !

    Now down to the problem since last 2 verions :
    – I have Version 2.9.2
    – When I have a already activated snippet that I want to save changes to, it’s gives me error bellow.
    – My workaround which works like a charm : 1. Desactivate and Save, 2. Save and Activate.
    —–
    Don’t Panic

    The code snippet you are trying to save produced a fatal error on line 22:

    Cannot redeclare add_dv_FormOnChange_javascript() (previously declared in […]/dv_admin/wp-content/plugins/code-snippets/php/snippet-ops.php(427) : eval()’d code:10)
    The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.

    Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.
    —–

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Nice spotting. This is indeed a bug in the latest version; I am planning on releasing a fix very soon.

    In the meantime, there’s actually already a thread about this issue: https://wordpress.org/support/topic/code-being-executed-twice/#post-9485471

    darlio

    (@darlio)

    Great !

    Thanks for the wonderful support !

    With this very straight-forward workaround, waiting is no problem 😉 !!

    Take care…

    (And I did give your plugin a 5* !!! Just yesterday !!!)

    You can thus close this thread !

    Plugin Author Shea Bunge

    (@bungeshea)

    Yes, thank you for your wonderful review!
    Hopefully the new update fixes things for you 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Outstanding plugin… but last version = BUG’ is closed to new replies.