• Resolved pepinvik

    (@pepinvik)


    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)
  • Plugin Contributor buffercode

    (@buffercode)

    Hi Pepinvik,

    Can you please share your website URL and exact menu and location to debug.

    Note: Please check the developer console log for any JS errors? If so please deactivate other plugins and try only having Frontend Dashboard and its addon.

    Thanks
    M A Vinoth Kumar

    Thread Starter pepinvik

    (@pepinvik)

    Hi Vinoth,

    Sure I can but can I email you as this is a development site and don’t want to be public for viewing yet.

    Let me know
    Thanks

    Plugin Contributor buffercode

    (@buffercode)

    Yes please, email to
    [email protected]

    Thread Starter pepinvik

    (@pepinvik)

    Sure I will email now. The subject line would be same as this

    Thanks again

    Plugin Author M A Vinoth Kumar

    (@vinoth06)

    Hi @pepinvik

    Hope the problem found by identifying the conflict in your theme.

    Am closing this ticket, please don’t hesitate to reopen if you find any new ??

    Thanks
    M A Vinoth Kumar

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.