• Resolved En18Zone

    (@en18zone)


    Hi

    I think you might have reintroduced bug which you fixed with 2.8.2 update. This is what i get after i try to modify and update snippet

    The code snippet you are trying to save produced a fatal error on line 7:
    
    Cannot redeclare jam_mobile_header_html() (previously declared in /home/xyz/domains/mydomain.com/public_html/test/wp-content/plugins/code-snippets/php/snippet-ops.php(427) : eval()'d code:4)

    I do save changes and deactivate and then save changes and activate to fix the error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter En18Zone

    (@en18zone)

    Just tried on a site with 2.8.6 installed and all seems ok before updating to 2.9.2 where error resurfaces.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thank you for reporting this. I tried it out, and I can confirm it’s a bug in the current version. I’ve worked out what the reason was, and implemented a fix. I’ll release an update including a patch shortly.

    Thread Starter En18Zone

    (@en18zone)

    All is good after updating. Thanks for the quick patch.

    Plugin Author Shea Bunge

    (@bungeshea)

    That’s great to hear! Thanks for reporting back.

    I think the issue still exists in some form in 2.9.4 Got the same error when trying to login at /wp-admin/.

    Fatal error: Cannot redeclare owner_shortcode() (previously declared in /home/rothsch1/public_html/…/wp-content/plugins/code-snippets/php/snippet-ops.php(433) : eval()’d code:2) in /home/rothsch1/public_html/…/wp-content/plugins/code-snippets/php/snippet-ops.php(433) : eval()’d code on line 3

    This is a network site installation, if that makes a difference.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thank you for all of the extra information; it’s been a big help. I believe this issue should be fixed in the recently released version 2.9.6.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Code being executed twice?’ is closed to new replies.