• Resolved imkimc

    (@imkimc)


    I’m using Query Monitor plugin to find slow plugins and scripts. This is a new error since the last time I ran Query Monitor, possibly related to 5.2??

    This is what I see using Query Monitor on every page of our site:

    Missing Dependencies	opinionStage_poll_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/poll/dist/blocks.style.build.css	wp-blocks (missing)		
    Missing Dependencies	opinionStage_trivia_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/trivia/dist/blocks.style.build.css	wp-blocks (missing)		
    Missing Dependencies	opinionStage_personality_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/personality/dist/blocks.style.build.css	wp-blocks (missing)		
    Missing Dependencies	opinionStage_survey_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/survey/dist/blocks.style.build.css	wp-blocks (missing)		
    Missing Dependencies	opinionStage_slideshow_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/slideshow/dist/blocks.style.build.css	wp-blocks (missing)		
    Missing Dependencies	opinionStage_form_oswp_style_css_set	www.rvtravel.com	wp-content/plugins/social-polls-by-opinionstage/gutenberg/form/dist/blocks.style.build.css	wp-blocks (missing)

    Any ideas as to how to fix this? I need to keep your plugin loaded as our readers really like the polls!

    Thanks,
    Kim

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author opinion stage

    (@opinionstage)

    Hi there – thanks for reporting this! we will check and get back to you with an answer

    Thread Starter imkimc

    (@imkimc)

    and survey says?

    Thread Starter imkimc

    (@imkimc)

    So I did a little digging of my own… I’m impatient.

    I found a discussion for the wp-cli repository on github that indicates that the wp-block array isn’t needed… see here:
    https://github.com/wp-cli/scaffold-command/pull/151

    So I removed the reference to the missing ‘wp-block’ array from the init.php files in the gutenberg directory: (form, personality, poll, survey & trivia)
    So:

    wp_enqueue_style(
          'opinionStage_form_oswp_style_css_set',
           plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), 
             array( 'wp-blocks' ) 
           );
    } 

    Becomes:

    wp_enqueue_style(
          'opinionStage_form_oswp_style_css_set',
           plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), 
             array() 
           );
    } 

    And that removed the errors.

    I hope this helps you guys fix your plugin…
    I tried various other methods to make sure it wasn’t my optimization plugin that was causing this, or cache or what have you. This move fixed the issue.

    Thanks,
    Kim

    Plugin Author opinion stage

    (@opinionstage)

    Hi Kim,
    thanks so much for putting this effort. we have the issue fixed and should release an update hopefully later today.
    sorry for the inconvenience!
    O/S Team

    Plugin Author opinion stage

    (@opinionstage)

    Hi Kim,
    We release a fix for the issue, can you please update the plugin to the latest version and let us know if it resolved your issue?
    thanks!
    O/S Team.

    Plugin Author opinion stage

    (@opinionstage)

    Closing this issue, if you still have an issue, please let us know

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Query Monitor shows missing css, slowing page load times’ is closed to new replies.