• Resolved crystalpayton

    (@crystalpayton)


    Media library is not loading when woocommerce is the only plugin active on my site https://www.btsaquatics.com/

    I deactivated all plugins and the media library works fine
    But when I activated just the woocommerce plugin the media library will not load

    This is a new issue since the last update of the plugin

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I understand you’ve disabled all plugins except for WooCommerce, but could you also switch your theme to a default one like Storefront and check if media library loads?

    Thread Starter crystalpayton

    (@crystalpayton)

    this code in my functions.php was breaking the media library:

    if ( !function_exists( ‘woocommerce_output_content_wrapper_end’ ) ) {
    require_once ‘/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php’;
    }

    how do you conditionally require it on the front side only pages?

    Hi,

    That would require some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    I can recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack.

    Hi @crystalpayton

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘media library not loading when woocommerce is active’ is closed to new replies.