Support

Account

Home Forums Front-end Issues Date & Editor (WYSIWYG) not displaying on frontend

Solving

Date & Editor (WYSIWYG) not displaying on frontend

    • aveo_rp

    • December 18, 2020 at 8:54 pm

    Hey i’m trying to implement two date-fields and a editor field outside the wp-admin inclosure.

    The fields rendered, but the functions from the editor and date fields are nowhere to been seen.

    There are no javascript errors on load, but when I click on the “Visual”-btn, i get this error “Uncaught TypeError: Cannot read property ‘onpageload’ of undefined”.

    Anyone know how I can fix this and get it working ?

    Im using WP 5.5.3 and the theme is Astra Pro 2.6.1

    • aveo_rp

    • December 19, 2020 at 12:39 am

    I have now tried downgrading fra 5.9 to 5.6 version of ACF… and now it works, but i don’t see this as a viable solution to my problem for the future

  • I’m not sure what “outside the wp-admin inclosure” means, but it appears that needed scripts are not being loaded. I can’t help you with this other than do say you need to figure out what scripts are not being loaded and why and then figure out how to load them.

  • Plugin data could be stored in the database regardless if the plugin is running or not – I suggest deleting wordfence and its DB tables

    • aveo_rp

    • January 11, 2021 at 6:13 pm

    The fields were loaded, but not the editor / datepickers…

    but after being in contact with the Support…

    we found the solution …

    Somehow the the difference between 2.5.6 and 2.6.9, wouldnt load the js, if acf_form() is added directly (in my case) in the top of my index.php, but if the get_header hook was used it worked with the newest version

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.