• Resolved viajarapie

    (@viajarapie)


    Hi, I have started noticing js problems on my backend in the last few days. I have rolled back all the plugin updates that happened in the period, it’s only WP 4.9 left to downgrade. Before I do that, I’d like to try changing the theme but me ask before: if I activate some other theme temporarily, would I keep all my current configuration for Lovecraft? I have lots of menus that I couldn’t lose.

    In the meantime, let me report the js errors I get in case they ring any bell. This is the browser console output:

    ——————————————————————————-
    mediaelement-and-player.min.js:12 Uncaught TypeError: Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters
    at Object.s.language (mediaelement-and-player.min.js:12)
    at Object.o.5.15 (mediaelement-and-player.min.js:12)
    at i (mediaelement-and-player.min.js:12)
    at e (mediaelement-and-player.min.js:12)
    at mediaelement-and-player.min.js:12
    mediaelement-migrate.min.js:1 Uncaught ReferenceError: MediaElementPlayer is not defined
    at mediaelement-migrate.min.js:1
    at mediaelement-migrate.min.js:1
    wp-mediaelement.min.js:1 Uncaught TypeError: b(…).not(…).filter(…).mediaelementplayer is not a function
    at HTMLDocument.a (wp-mediaelement.min.js:1)
    at i (load-scripts.php:2)
    at Object.fireWith [as resolveWith] (load-scripts.php:2)
    at Function.ready (load-scripts.php:2)
    at HTMLDocument.K (load-scripts.php:2)
    5load-scripts.php:647 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (load-scripts.php:647)
    at HTMLDocument.dispatch (load-scripts.php:3)
    at HTMLDocument.r.handle (load-scripts.php:3)
    at Object.trigger (load-scripts.php:3)
    at Object.a.event.trigger (load-scripts.php:9)
    at HTMLDocument.<anonymous> (load-scripts.php:3)
    at Function.each (load-scripts.php:2)
    at a.fn.init.each (load-scripts.php:2)
    at a.fn.init.trigger (load-scripts.php:3)
    at Object.<anonymous> (load-scripts.php:357)
    ——————————————————————————-

    If affects the post editor in odd and apparently unrelated ways:
    – HTML view does not show up (nothing happens when clicking the HTML view tab)
    – Screen Options menu is not deployed
    – Help menu is not deployed
    – Tag adding interface doesn’t work (I can write tags but they’re not added)
    – When scrolling down, the whole page scrolls down, not only the post content

    I have noticed other similar non-working features in the image editor.

    If you think it might have to do with some incompatibility between Lovecraft and WP 4.9, please let me know. Please let me know also about the safety of changing the theme temporarily as mentioned above.
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter viajarapie

    (@viajarapie)

    I checked deeper in the WP forums and it seems an issue with WP4.9 and not any particular theme. No need to research on Lovecraft’s side apparently.

    I’d still appreciate if you can answer my side question above: if I’d activate some other theme temporarily, would I still keep all my settings (menus, etc) that I defined for Lovecraft? Would everything be back as normal when I re-activate Lovecraft?
    Thanks.

    Theme Author Anders Norén

    (@anlino)

    Hi @viajarapie,

    If I remember correctly, WordPress will move your active widgets to the “Inactive” section of the widgets page, so the widgets will lost their position but keep their individual field values (text, dropdown menus and so on). As for menus, the menus themselves will be saved but they won’t automatically return to their original menu position (“Primary Menu”, in Lovecrafts case) if the theme is deactivated and then activated again. You would have to set that menu to the Primary Menu location again, in other words.

    Theme specific Customizer settings (colors and so on) will be reinstated to their original state if you switch from Lovecraft and then back again, though.

    — Anders

    Thread Starter viajarapie

    (@viajarapie)

    Great info, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible conflict with WP 4.9’ is closed to new replies.