• Resolved Sam

    (@xumbrella)


    Hi I have the latest version of Snippets plugin and when I add an new snippet and click “save and activate” it ends up just timing out the page and freezing the tab. It does save the snippet but I have to close the tab and reload the all snippets page.

Viewing 13 replies - 1 through 13 (of 13 total)
  • I can second that! I tried it on multiple sites and multiple hosting environments. The freez happens very often and can only be stopped after the first timeout dialog with killing the tab, or by killing the tab process via task manager.

    Plugin Author Shea Bunge

    (@bungeshea)

    This seems very strange. Unfortunately, I can’t reproduce this issue on any of the sites I have access to.

    Does this issue only occur when adding a new snippet, or does it also happen when editing an existing snippet. Does it happen if you just save rather than using save and activate?

    Hi Shea.

    Actually it is not always happening. It happens with some snippets only. But i couldnt find the issue.

    I will try to look deeper and if i find the problem i will let you know.

    Thanks.

    For me it behaves like some sort of memory leak (at the beginning all is fine, after 10+ saved changes it starts and then it happens more and more, till it happens every second save or even every save).

    It only happens inside the editor view. If I active/deactivate in the overview table, all is fine.

    I also think it happens only if the script is active or gets activated. So saving an unactive script is fine too.

    Same problem here. I have a screenshot : https://prntscr.com/l8lwgt

    Happens for me too with this snippet:

    add_filter( 'tablepress_print_name_html_tag', 'tablepress_change_table_name_h2_to_h3', 10, 2 );
    function tablepress_change_table_name_h2_to_h3( $tag, $table_id ) {
      $tag = 'h3';
      return $tag;
    }

    Hi all,

    I have same issues for all the time now.

    I have tested on Mac (laptop and mac mini + chrome), it works fine. I just only tested for a short time though…

    It is really stopping my work, please help us if you have any thought about this.

    Or we might can get php error logs to share and compare.

    I will upload it when I get it.

    Same here. ?? Please, fix this.

    You can test the behaviour on my staging site if you wish.

    Hi all,

    It happened to me many times too, but I noticed it isn’t because of the specific code I saved. Each time it happened, the snippet saved correctly, only the tab stuck.

    Not sure if that’s connected or not, but usually it happens when I have too many tabs open (40+) and I try to save a long snippet.

    I believe, like @webmastermd, that this is some sort of a memory leak.

    The PHP error log is empty by the way.

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve made a few changes to how the edit snippet page works in version 2.13.0. It would be fantastic if some people experiencing this error could try it out and see whether it fixes anything.

    Hi Shea,

    Thanks!

    Working with the new version, so far, I didn’t encounter this issue. If it will pop again, I’ll let you know.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thank you for letting me know @saharusa.

    I’ll mark this as resolved for now, but please feel free to let me know if this error crops up again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Adding snippet kills tab in Chrome’ is closed to new replies.