Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#60538 new defect (bug)

Missing wp-includes/css/classic-themes.min.css stylesheet

Reported by: bilalmughl's profile bilalmughl Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5
Component: General Keywords: close
Focuses: Cc:

Description

Bug Report

Description

A warning is being displayed when adding new pattren using Hello Elementor 3.0.1 Theme.
Warning: file_get_contents(/wordpress/wp-includes/css/classic-themes.min.css): Failed to open stream: The specified file or directory does not exist in /wordpress/wp-includes/script-loader.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at /wordpress/wp-includes/script-loader.php:14)

Environment

  • WordPress: 6.5-beta1
  • PHP: 8.0.30-dev
  • Server: PHP.wasm
  • Database: WP_SQLite_Translator (Server: 5.5 / Client: 3.40.1)
  • Browser: Chrome 121.0.0.0
  • OS: Windows 10/11
  • Theme: Hello Elementor 3.0.1
  • MU Plugins:
    • 0-playground.php
    • 0-sqlite.php
    • WordPress WXZ Exporter 0.1
  • Plugins:
    • Create Block Theme 1.13.8
    • Debug Bar 1.1.4
    • Health Check & Troubleshooting 1.7.0
    • Test Reports 1.1.0
    • User Switching 1.7.2
    • WordPress Importer Git loader 0.8.2

Steps to Reproduce

  1. 🐞 Bug occurs.

Expected Results

  1. ✅ The new pattern should be added without any warnings.

Actual Results

  1. ❌ Warnings are displayed:

Warning: file_get_contents(/wordpress/wp-includes/css/classic-themes.min.css): Failed to open stream: The specified file or directory does not exist in /wordpress/wp-includes/script-loader.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at /wordpress/wp-includes/script-loader.php:14)

Additional Notes

  • This issue occurs when using Hello Elementor 3.0.1 Theme while attempting to add a new pattern.

Supplemental Artifacts

Screenshot:
https://take.ms/Ca9Rv
Video:
https://take.ms/QP6Yd

Change History (3)

#1 @swissspidy
5 months ago

  • Focuses ui javascript css performance sustainability php-compatibility removed
  • Keywords close added
  • Version set to trunk

I just downloaded WordPress 6.5 Beta 1 from https://wordpress.org/news/2024/02/wordpress-6-5-beta-1/ and the wp-includes/css/classic-themes.min.css file definitely does exist. So this seems like an issue with Playground.

#2 @swissspidy
5 months ago

  • Summary changed from When using the Hello Elementor 3.0.1 Theme and attempting to add a new pattern, warnings are displayed indicating issues with file access and header information modification. to Missing wp-includes/css/classic-themes.min.css stylesheet

#3 @bilalmughl
5 months ago

The problem occurred during testing on Playground.

Last edited 5 months ago by bilalmughl (previous) (diff)
Note: See TracTickets for help on using tickets.