Title: Missing Dependencies
Last modified: December 12, 2018

---

# Missing Dependencies

 *  Resolved [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/missing-dependencies-6/)
 * Hi – thanks for the great plugin.
 * Query Monitor says frontend is showing WP 5 update throwing some mystery ‘style’
   error related to
 * pdfemb-gutenberg-block-backend-js
    wp-content/plugins/pdf-embedder/css/pdfemb-
   blocks.css wp-blocks (missing)

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

 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/missing-dependencies-6/#post-10984154)
 * Hi wasanajones,
 * Thank you for bringing this to our attention. The pdfemb-blocks.css stylesheet
   is blank as we didn’t end up needing to add our own styles for the Gutenberg 
   compatibility fix. This didn’t get removed when we released the update and as
   a result appears in the Query Monitor. We will be removing this redundancy in
   our next update but in the meantime, the plugin is stable and works correctly
   so it is safe to ignore this report.
 * If you have any other questions, please do not hesitate to send us an email to
   [contact@wp-pdf.com](https://wordpress.org/support/topic/missing-dependencies-6/contact@wp-pdf.com?output_format=md)
   as we may not see the forum posts in a timely fashion.
 * Emma
 *  Thread Starter [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/missing-dependencies-6/#post-10985520)
 * thanks
 *  [Fábio Oliveira](https://wordpress.org/support/users/fabinho7/)
 * (@fabinho7)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/missing-dependencies-6/#post-11263190)
 * [@wasanajones](https://wordpress.org/support/users/wasanajones/) I’ve been waiting
   for this update for some time, and I hate to see my Query Monitor in red. Then
   I solved it manually.
 * **1-** Access /wp-content/plugins/pdf-embedder/core
 * **2-** Open the file core_pdf_embedder.php
 * **3-** Edit the end of the file commenting the following lines:
 * ———————————————————————–
    function gutenberg_enqueue_block_editor_assets() { **//**
   wp_enqueue_script( **//** ‘pdfemb-gutenberg-block-js’, // Unique handle. **//**
   $this->my_plugin_url(). ‘js/pdfemb-blocks.js’, **//** array( ‘wp-blocks’, ‘wp-
   i18n’, ‘wp-element’ ), // Dependencies, defined above. **//** $this->PLUGIN_VERSION**//**);
 * **//** wp_enqueue_style(
    **//** ‘pdfemb-gutenberg-block-css’, // Handle. **//**
   $this->my_plugin_url(). ‘css/pdfemb-blocks.css’, // editor.css: This file styles
   the block within the Gutenberg editor. **//** array( ‘wp-edit-blocks’ ), // Dependencies,
   defined above. **//** $this->PLUGIN_VERSION **//** ); }
 *  function gutenberg_enqueue_block_assets() {
    **//** wp_enqueue_style( **//**‘
   pdfemb-gutenberg-block-backend-js’, // Handle. **//** $this->my_plugin_url().‘
   css/pdfemb-blocks.css’, // style.css: This file styles the block on the frontend.**//**
   array( ‘wp-blocks’ ), // Dependencies, defined above. **//** $this->PLUGIN_VERSION**//**);}———————————————————————–
   Hope this helps! =D
    -  This reply was modified 7 years, 1 month ago by [Fábio Oliveira](https://wordpress.org/support/users/fabinho7/).
    -  This reply was modified 7 years, 1 month ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/missing-dependencies-6/#post-11265680)
 * now there’s one way to shame a developer into an update !
 * thnx

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

The topic ‘Missing Dependencies’ is closed to new replies.

 * ![](https://ps.w.org/pdf-embedder/assets/icon.svg?rev=3227003)
 * [PDF Embedder](https://wordpress.org/plugins/pdf-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embedder/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/missing-dependencies-6/#post-11265680)
 * Status: resolved