• Resolved ArtistScope

    (@artistscope)


    As soon as I type into the title field the page goes blank.

    I wanted to add a snippet to WooCommerce receipt page, but you probably require a pro licence. So how can I test before buying?

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

    (@bungeshea)

    You shouldn’t need any sort of license to add a snippet.

    Would it be possible to upload a screen recording of what’s happening?

    Thread Starter ArtistScope

    (@artistscope)

    See https://uploaded-media.link/files/snippet-error.wmv

    In case it was a browser compatibility issue (Firefox Dev is known to throw errors) I also tried with Firefox public release version. Same thing happens.

    Same thing happens when I try to edit a sample snippet. As soon as I type into the Title field, the form disappears.

    • This reply was modified 1 year, 4 months ago by ArtistScope.
    • This reply was modified 1 year, 4 months ago by ArtistScope.
    Thread Starter ArtistScope

    (@artistscope)

    I don’t see many choices for where the snippet should run. I want to run it on WooCommerce receipt page, but after the page loads with some data to work with.

    Plugin Author Shea Bunge

    (@bungeshea)

    Very strange, I’ll see whether I can reproduce this. If you’re able to open your browser console and let us know whether you see any errors, that’d be a big help.

    Thread Starter ArtistScope

    (@artistscope)

    This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. admin.php
    MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. wp-tinymce.js:3:8856
    This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features! admin.php
    MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. wp-tinymce.js:3:8856
    TypeError: e.target is null
    onChange https://example.com/wp-content/plugins/code-snippets/dist/edit.js?ver=3.5.0:2
    Ua https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:86
    Vc https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:87
    useState https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:218
    useState https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:32
    1908 https://example.com/wp-content/plugins/code-snippets/dist/edit.js?ver=3.5.0:2
    we https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:84
    He https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:97
    zj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228
    Th https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152
    tj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152
    Te https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    ha https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    uj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    ud https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    uf https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    Qd https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:42
    sc https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    Ei https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    react-dom.min.js:125:24
    Me https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:125
    callback https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:138
    Wg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:67
    oj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:127
    Aj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:160
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    ab https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:154
    Te https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    ha https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    uj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    ud https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    uf https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    Qd https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:42
    sc https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    Ei https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    Uncaught TypeError: e.target is null
    onChange https://example.com/wp-content/plugins/code-snippets/dist/edit.js?ver=3.5.0:2
    Ua https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:86
    Vc https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:87
    useState https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:218
    useState https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:32
    1908 https://example.com/wp-content/plugins/code-snippets/dist/edit.js?ver=3.5.0:2
    we https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:84
    He https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:97
    zj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228
    Th https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152
    tj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152
    Te https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    Pg https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61
    ha https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    uj https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    ud https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    uf https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:15
    Qd https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:42
    sc https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    unstable_runWithPriority https://example.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25
    Da https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60
    https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236
    Ei https://example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41
    edit.js:2:49657
    Thread Starter ArtistScope

    (@artistscope)

    I posted the console log but its waiting on moderation.

    I am getting the same behavior, as soon as you enter something, the whole editor disappear.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thanks @artistscope. I’m not 100% sure why this is occurring but with your post I should be able to work out a potential fix. I’ll check back in after we release a patch, and we can see if that fixes things.

    @sebabal can you confirm whether this is happening when you try to enter text in the title field, as with @artistscope? Or is it occuring elsewhere?

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve just released version 3.6.2, which should hopefully fix this issue. Please let us know if not!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Cannot add new snippet’ is closed to new replies.