[wp-trac] [WordPress Trac] #60538: 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.

WordPress Trac noreply at wordpress.org
Wed Feb 14 10:20:31 UTC 2024


#60538: 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.
-------------------------------------------------+-------------------------
 Reporter:  bilalmughl                           |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  General                              |    Version:
 Severity:  normal                               |   Keywords:
  Focuses:  ui, javascript, css, performance,    |
  sustainability, php-compatibility              |
-------------------------------------------------+-------------------------
 == 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.
 x. 🐞 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60538>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list