[wp-trac] [WordPress Trac] #60573: no font faces were installed error when i upload a woff2 font

WordPress Trac noreply at wordpress.org
Mon Feb 19 14:37:39 UTC 2024


#60573: no font faces were installed error when i upload a woff2 font
--------------------------+-----------------------------
 Reporter:  wplmillet     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 == Bug Report
 === Description
 Describe the bug.
 Quand je tente de téléverser une police woff2 depuis mon ordi dans la
 librairie de polices, j'ai l'erreur suivante :

 {{{
 No font faces were installed. Fetch error: <p>There has been a critical
 error on this website.</p><p><a
 href="https://wordpress.org/documentation/article/faq-
 troubleshooting/">Learn more about troubleshooting
 WordPress.</a></p>
 }}}

 [[Image(https://i.imgur.com/W8ng06W.png)]]
 The font does not appear in the library.
 In addition, the error message does not appear correctly as it is
 displayed in HTML format
 Important: This font is correct as I can use it from Manage Theme Fonts in
 Appearance menu
 === Environment
 - WordPress: 6.5-beta1-57654
 - 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: Linux
 - Theme: Twenty Twenty-Four 1.0
 - 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.
 Menu '''Editor, Styles ( modify styles), typography and Manage Fonts
 Then in the new windows, go to Upload , Upload font ''' Then choose the
 local font


 === Expected Results
 1.  ✅ What should happen.
 I want to upload a personnal local font on my site

 === Actual Results
 1.  ❌ What actually happened.
 Just a message :

 {{{
 No font faces were installed. Fetch error: <p>There has been a critical
 error on this website.</p><p><a
 href="https://wordpress.org/documentation/article/faq-
 troubleshooting/">Learn more about troubleshooting
 WordPress.</a></p>
 }}}
 The message is badly formatted and appears in HTML

 === Additional Notes
 - Any additional details worth mentioning.

 === Supplemental Artifacts
 Add Inline: [[Image(https://i.imgur.com/W8ng06W.png)]]
 or
 Add as Attachment

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


More information about the wp-trac mailing list