• Resolved grimtooth

    (@grimtooth)


    Hi, i’m getting this error when I click at upload button(images section) in add question type:images.

    content.min.js?ver=1.0.7:1 Uncaught TypeError: wp.media is not a function
        at t.onClick (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:1:2542)
        at Object.r.invokeGuardedCallback (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:7:9567)
        at i (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:4:15353)
        at Object.s [as executeDispatchesInOrder] (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:4:15600)
        at m (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:4:10370)
        at f (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:4:10496)
        at Array.forEach (native)
        at a (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:9:14948)
        at Object.processEventQueue (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:4:11793)
        at a (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:7:9738)
        at Object.handleTopLevel [as _handleTopLevel] (https://localhost/wptutorial/wp-content/plugins/wp-quiz/assets/js/content.min.js?ver=1.0.7:7:9859)
    onClick @ content.min.js?ver=1.0.7:1
    r.invokeGuardedCallback @ content.min.js?ver=1.0.7:7
    i @ content.min.js?ver=1.0.7:4
    s @ content.min.js?ver=1.0.7:4
    m @ content.min.js?ver=1.0.7:4
    f @ content.min.js?ver=1.0.7:4
    a @ content.min.js?ver=1.0.7:9
    processEventQueue @ content.min.js?ver=1.0.7:4
    a @ content.min.js?ver=1.0.7:7
    handleTopLevel @ content.min.js?ver=1.0.7:7
    i @ content.min.js?ver=1.0.7:7
    o @ content.min.js?ver=1.0.7:7
    perform @ content.min.js?ver=1.0.7:9
    batchedUpdates @ content.min.js?ver=1.0.7:6
    o @ content.min.js?ver=1.0.7:8
    dispatchEvent @ content.min.js?ver=1.0.7:7
Viewing 1 replies (of 1 total)
  • Plugin Author MyThemeShop

    (@mythemeshop)

    Hello,

    It looks like a bug on the WP Quiz plugin. For now, kindly edit wp-quiz.php and add below

    
    wp_enqueue_style( 'wp-color-picker' );
    

    the following

    
    wp_enqueue_media();
    

    An update addressing this issue is on it’s way.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Error on upload button when add questions type image’ is closed to new replies.