Skip to content

When installing via composer create project / configured .env / Internal Server Error / Function WP_Font_Face::validate_font_face_declarations was called incorrectly #79

@jdm-web

Description

@jdm-web

When using composer create project pollora/pollora, with a configured .env file, and an installed database, I get this fatal error straight after in the admin page :

Function WP_Font_Face::validate_font_face_declarations was called <strong>incorrectly</strong>. Each font src must be a non-empty string. Please see <a href="https://developer.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.4.0.)

Image

Steps to reproduce :

  • composer create project pollora/pollora
  • fill .env file
  • execute the WordPress database setup
  • visit the admin page.

Proposed change :

  • Make it clear to the developer that this error arises because the theme has not been compiled yet. (Either with a custom try catch error message, or a custom error page).
  • Or compile the theme as part of the composer create project procedure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions