• Resolved cunnningstunts

    (@cunnningstunts)


    Nothing happens when clicking the “upload an image” thumbnail in any product variation. Chrome dev tools gives me this:

    Uncaught TypeError: wp.media.controller.Library is not a constructor
    meta-boxes-product-variation.min.js?ver=3.3.3

    Same in Safari, which also points to the following line of the error:

    states: [new wp.media.controller.Library({

    Using Woo Version 3.3.3
    Chrome 64.0.3282.186
    Safari Version 11.0.3 (13604.5.6)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cunnningstunts

    (@cunnningstunts)

    Also found this in the logs:
    PHP Fatal error: Cannot declare class WC_Settings_Products, because the name is already in use in /woocommerce/includes/admin/settings/class-wc-settings-products.php on line 449

    Mikey (a11n)

    (@mikeyarce)

    Hi @cunnningstunts,

    This might be due to a plugin conflict. Can you try disabling all plugins except WooCommerce to see if this helps?

    Cheers,

    Thread Starter cunnningstunts

    (@cunnningstunts)

    Thanks for the reply. Sorry, I forgot to update this topic when I worked out the issue. The Measurement Price Calculator plugin was the causing the problem.

    Mikey (a11n)

    (@mikeyarce)

    Thanks for the update!

    SaeedK

    (@saeedk)

    Hello Dear

    I also have this problem
    How to solve this interference ?

    Fatal error: Cannot declare class WC_Settings_Products, because the name is already in use in \plugins\woocommerce\includes\admin\settings\class-wc-settings-products.php on line 449

    I’m going to use woocommerce measurement price calculator plugin

    Thank You

    Mikey (a11n)

    (@mikeyarce)

    Hi @saeedk,

    Can you please start a new topic as this might be a different issue?

    Thanks!

    SaeedK

    (@saeedk)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t add images to product variations’ is closed to new replies.