Title: Cloudinary breaks WP Webhooks
Last modified: June 7, 2021

---

# Cloudinary breaks WP Webhooks

 *  Resolved [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/)
 * Hey guys,
 * we received a couple of requests that your plugin is breaking the functionality
   of WP Webhooks on its own plugin pages.
    After some quick tests, we could confirm
   that as you are loading your scripts and styles globally (`cloudinary-image-management-
   and-manipulation-in-the-cloud-cdn/php/class-plugin.php:344`)
 * The received error:
 *     ```
       cloudinary.js?ver=2.7.3:1 Uncaught TypeError: Cannot read property 'classList' of null
           at HTMLButtonElement.<anonymous> (cloudinary.js?ver=2.7.3:1)
       ```
   
 * Please only load the required scripts and styles on pages that really require
   it as everything else is bad practice.
 * For everyone who faces that issue in the meantime and looks for a solution: You
   can simply dequeue the scripts on the pages of WP Webhooks.
    To do that, just
   add the following snippet into your functions.php file of your theme:
 *     ```
       add_action( 'wp_print_scripts', 'deregister_script_on_wp_webhooks_pages', PHP_INT_MAX );
       function deregister_script_on_wp_webhooks_pages() {
   
       	if( function_exists( 'WPWHPRO' ) ){
       		if( WPWHPRO()->helpers->is_page( WPWHPRO()->settings->get_page_name() ) ){
       			wp_deregister_script( 'cloudinary' );
       			wp_dequeue_script( 'cloudinary' );
       		}
       	}
   
       }
       ```
   
 * Do reach out in case you need further details.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcloudinary-breaks-wp-webhooks%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14532504)
 * Hi [@ironikus](https://wordpress.org/support/users/ironikus/),
 * Thanks for reaching out with all the details of the issue.
 * I will share this with my team in order to embed it in a future release.
 * I will keep you posted on our progress.
    Best, Loic
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [5 years ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14532772)
 * Hi [@ironikus](https://wordpress.org/support/users/ironikus/),
 * Could you clarify what you mean by your plugin is breaking the functionality 
   of WP Webhooks on its own plugin pages? If you can share a screenshot where we
   can see the issue, this could be definitely helpful.
 * Thanks in advance.
    Best, Loic
 *  Thread Starter [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14533256)
 * Hey [@loiccloudinary](https://wordpress.org/support/users/loiccloudinary/) – 
   you can simply reproduce the issue.
 * 1. Install and activate WP Webhooks and your plugin
    2. Head over to settings-
   > WP Webhooks -> Receive Data 3. Select a webhook action and try to open the 
   description accordion or the settings pop up – nothing happens.
 * You will find further details about that within the console.
 *  Plugin Support [loic @ cloudinary](https://wordpress.org/support/users/loiccloudinary/)
 * (@loiccloudinary)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14651901)
 * Hi [@ironikus](https://wordpress.org/support/users/ironikus/),
 * Hope you are well.
 * Would you mind upgrading to the version 2.7.4 of our plugin. The issue should
   be fixed with this new version.
 * Best,
    Loic
 *  Thread Starter [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14654601)
 * Hey [@loiccloudinary](https://wordpress.org/support/users/loiccloudinary/) – 
   Thank you very much for your message, as well as for the update.
    We just confirmed
   that everything is working as expected now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cloudinary breaks WP Webhooks’ is closed to new replies.

 * ![](https://ps.w.org/cloudinary-image-management-and-manipulation-in-the-cloud-
   cdn/assets/icon-256x256.png?rev=2377259)
 * [Cloudinary - Deliver Images and Videos at Scale](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ironikus](https://wordpress.org/support/users/ironikus/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/cloudinary-breaks-wp-webhooks/#post-14654601)
 * Status: resolved