Hi @azizultex,
I’m using WP 6.0, ACF Pro 5.12.2 with Oxygen 3.9 and I’m getting the same error msg: undefined is not an object (evaluating ‘wp.media.query’) when trying to add/edit an ACF image field in the front end using the standard acf_form(),
even after adding the wp_enqueue_media() within admin_enqueue_scripts and also using User role editor plugin. Do you have any suggestions to fix this issue?
Thanks in advance,
Rodrigo