• Resolved hayobethlehem

    (@hayobethlehem)


    i installed wp4.2, and i discovered that i can’t change the timestamp of a post any more. When i disable polylang, the problem disappears. i get a few js errors:

    Uncaught TypeError: a(…).suggest is not a function
    post.min.js?ver=1.7.3:1 Uncaught TypeError: c(…).autocomplete is not a function
    2load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,thickbox,heartbeat,autosave,jquery-color,w…:765 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined

    https://www.ads-software.com/plugins/polylang/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    If you mean changing the date in the publish metabox, I don’t reproduce such issue. Based on your error message, it looks like a file is missing in your WordPress install which is strange.
    Could you look for:
    wp-includes/js/jquery/suggest.js and
    wp-includes/js/jquery/suggest.min.js

    Thread Starter hayobethlehem

    (@hayobethlehem)

    Ah, very odd. I checked two sites that recently updated (one with poly, one without), but both have those js files.

    I just updated site number 3 (has polylang) to the latest wordpress version, and there i do not have the problem.

    so i tried copying those 2 files from site 3 to site one. that seems to help a little, i now just get 2 specific polylang js errors:

    post.min.js:1 Uncaught TypeError: a(…).suggest is not a function
    post.min.js:1 Uncaught TypeError: c(…).autocomplete is not a function

    Thread Starter hayobethlehem

    (@hayobethlehem)

    i tried fully deleting polylang, then reinstalling.
    it works, until i create en_US as default language, and move all my posts to that. then the language thingy in the edit interface is activated, and the javascript starts breaking.

    Plugin Author Chouby

    (@chouby)

    Before you create a language, Polylang does nothing. So it is expected that you don’t have any issue in this case.

    Could check for a conflict with another plugin or even your theme?
    Maybe the reason why it works on one site and not on another one.

    Thread Starter hayobethlehem

    (@hayobethlehem)

    the 1.7.4 update fixed this problem for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘polylang seems to break timestamp javascript in post editor for wp 4.2’ is closed to new replies.