Support » Plugin: PDF Embedder » Missing Dependencies

  • Resolved wasanajones


    Hi – thanks for the great plugin.

    Query Monitor says frontend is showing WP 5 update throwing some mystery ‘style’ error related to

    wp-blocks (missing)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support WP-PDF Support


    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 as we may not see the forum posts in a timely fashion.



    @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

    now there’s one way to shame a developer into an update !


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.