Hi,
We’re using the plugin “Real Estate Manager Pro” at https://gemeinde.buerchen.ch. If a user made a registration in the real estate market, he can’t upload any images / documents due a javascript error:
Uncaught TypeError: wp.media is undefined
<anonymous> https://temp.gemeinde.buerchen.ch/wp-content/plugins/real-estate-manager-pro/assets/front/js/create-property.js?ver=5.8.2:15
The error appears, if you click on the button “Klicken Sie hier, um Bilder hochzuladen” or “Dateianhänge” in the site “Meine Objeke / Neues Objekt”. We made a website-clone for testing. Temporary login link and site-link in private content.
If you switch from the Enfold-Child Theme “Theme” to “Twenty Twenty-One” the error disappears.
Regards,
Bernd
Hey Bernd,
Thank you for the inquiry.
You may need to set the Enfold > Performance > Self hosted videos and audio features (WP-Mediaelement scripts) settings to the third option to enable the WP Media Element script. Make sure to toggle the file compression settings as well afterwards.
Best regards,
Ismael
Hi Ismael,
Thanks a lot. It works :-)
Regards,
Bernd
Hi Bernd,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard,
You can close this topic.
Regards,
Bernd
Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard