Not able to upload image in the front end
-
I have enabled user upload permissions to specific roles but when I go to frontend and login with that user role and try to either add a featured image or a image in the post content using add media nothing happens. Chrome developer tools showed this error
b.on( 'click', '.fed_upload_container', function ( e ) { var custom_uploader; var button_click = $( this ); e.preventDefault(); custom_uploader = wp.media.frames.file_frame = wp.media( { title: 'Upload', button: { text: 'Upload' }, multiple: false } );
Uncaught TypeError: Cannot read property ‘frames’ of undefined
Anyway to fix this.
Thanks and appreciate it
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Not able to upload image in the front end’ is closed to new replies.