Fatal Error If “href” attribute missing in LINK tag
-
Fatal Error If “href” attribute missing in LINK tag, this should be guarded as i see some sites are enough messy.
Error Log:
Fatal error: Uncaught TypeError: Argument 1 passed to Sphere\Debloat\RemoveCss::should_process_stylesheet() must be an instance of Sphere\Debloat\OptimizeCss\Stylesheet, bool given, called in /home/example/example.com/wp-content/plugins/debloat/inc/remove-css/remove-css.php on line 63 and defined in /home/example/example.com/wp-content/plugins/debloat/inc/remove-css/remove-css.php:241 Stack trace: #0 /home/example/example.com/wp-content/plugins/debloat/inc/remove-css/remove-css.php(63): Sphere\Debloat\RemoveCss->should_process_stylesheet(false) #1 /home/example/example.com/wp-content/plugins/debloat/inc/optimize-css/optimize-css.php(47): Sphere\Debloat\RemoveCss->process() #2 /home/example/example.com/wp-content/plugins/debloat/inc/process.php(105): Sphere\Debloat\OptimizeCss->process() #3 [internal function]: Sphere\Debloat\Process->process_markup('<!doctype html>...', 9) #4 /home/example/example.com/wp-includes/functions.php(5107): ob_end_flush() #5 /home/example/example.com/ in /home/example/example.com/wp-content/plugins/debloat/inc/remove-css/remove-css.php on line 241
The topic ‘Fatal Error If “href” attribute missing in LINK tag’ is closed to new replies.