Archived topic
Fatal Error - Missing CSS in css- output.php
2 replies · Started by Anita on March 7, 2021
Logged into http://www.thesouthpawconnection.com earlier and noticed a bunch of code at the top of the page. I was able to update theme and plugins, and clicked away, thinking (foolishly) that things would fix themselves. But just now, when I tried to log in to add content, I couldn't get in at all. Can anyone help with this, or should I be looking for help from my host provider?
Appreciate your kind advice!
tput .= sprintf( '@media %1$s{%2$s}', $this->_media_query, $this->_media_query_output ); // Reset the media query output string. $this->_media_query_output = ''; } return $this; } /** * Adds the current selector rules to the output variable * * @access private * @since 1.0 * * @return $this */ private function add_selector_rules_to_output() { if ( ! empty( $this->_css ) ) { $this->_selector_output = $this->_selector; $selector_output = sprintf( '%1$s{%2$s}', $this->_selector_output, $this->_css ); // Add our CSS to the output. if ( ! empty( $this->_media_query ) ) { $this->_media_query_output .= $selector_output; $this->_css = ''; } else { $this->_output .= $selector_output; } // Reset the css. $this->_css = ''; } return $this; } /** * Returns the minified css in the $_output variable * * @access public * @since 1.0 * * @return string */ public function css_output() { // Add current selector's rules to output. $this->add_selector_rules_to_output(); // Output minified css. return $this->_output; } } }
Fatal error: Uncaught Error: Class 'GeneratePress_CSS' not found in /home/ofsedjlm/public_html/thesouthpawconnection/wp-content/themes/generatepress/inc/css-output.php:24 Stack trace: #0 /home/ofsedjlm/public_html/thesouthpawconnection/wp-content/themes/generatepress/inc/css-output.php(1154): generate_base_css() #1 /home/ofsedjlm/public_html/thesouthpawconnection/wp-content/themes/generatepress/inc/css-output.php(1169): generate_get_dynamic_css() #2 /home/ofsedjlm/public_html/thesouthpawconnection/wp-includes/class-wp-hook.php(287): generate_enqueue_dynamic_css('') #3 /home/ofsedjlm/public_html/thesouthpawconnection/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #4 /home/ofsedjlm/public_html/thesouthpawconnection/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /home/ofsedjlm/public_html/thesouthpawconnection/wp-includes/script-loader.php(2004): do_action('wp_enqueue_scri...') #6 /home/ofsedjlm/public_html/thesouthpawconnection/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts('') #7 in /home/ofsedjlm/public_html/thesouthpawconnection/wp-content/themes/generatepress/inc/css-output.php on line 24
There has been a critical error on this website.
Host found the problem. Sorry to have bothered you!
Thank you for letting us know. No problem. :)