Support » Plugin: WPGlobus - Multilingual Everything! » Error – Do you want to leave the site. Changes you made may not be saved”

  • Resolved peterlaz

    (@peterlaz)



    I am using WPGlobus on my site with Genesis Enterprise Pro Theme. WPGlobus is working flawlessly and I am extremely happy with the plugin.

    I am facing one problem though. Whenever I open a page or post to edit I get the following error message “Do you want to leave the site. Changes you made may not be saved” when I try to exit the page. I am getting this message even when I have clicked on the update button. This error message appears whether there has been an update to the page or when there is no update being done.

    How can I prevent this error message?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TIV.NET INC.

    (@tivnetinc)

    Hi @peterlaz,

    This message appears in some cases as a result of a “hard-to-debug” interaction between various theme and plugin functions. We’ve seen that not only in WPGlobus but in other places, too.

    The solution is currently unknown to us. Usually, switching between text and visual modes help.

    Sorry for this inconvenience.

    I tried switching between the text and visual modes, but it doesn’t help. Instead now all the entries in the text mode appears with the HTML markup. When I deactivated the wpGlobus plugin all these HTML markup on the text mode disappears. Why is this problem happening? How can I prevent the HTML markups from being shown in the text mode.

    Just to clarify the problem. When I enter a text such as “This is bilingual site” it appears in the editor as <p>This is bilingual site</p>

    Plugin Contributor Alex Gor

    (@alexgff)

    > Just to clarify the problem. When I enter a text such as “This is bilingual site” it appears in the editor as <p>This is bilingual site</p>

    WPGlobus doesn’t add tag paragraph.
    Please read
    https://codex.wordpress.org/Function_Reference/wpautop

    Thank you for the super prompt reply.

    It is true that the wpGlobus does not add any paragraph tag. I guess the paragraph tags were always present but hidden from view. Somehow wpGlobus is making it visible.

    For now I have solved the problem by adding the following two lines of code to the functions.php file.

    remove_filter( ‘the_content’, ‘wpautop’ );
    remove_filter( ‘the_excerpt’, ‘wpautop’ );

    The plugin is now working perfectly with one remaining issue. The error message – “Do you want to leave the site. Changes you made may not be saved” is still present. I hope future upgrades to the plugin will be able to find a solution to the “hard-to-debug” interaction between various theme and plugin functions.

    Once again thank you for the excellent plugin and we like it very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error – Do you want to leave the site. Changes you made may not be saved”’ is closed to new replies.