Skip to content

error in wordpress homepage when there is no "googlefonts.json" file got found in the "uploads/redux/google-fonts" directory #1622

@pareshsojitra

Description

@pareshsojitra

i found this error when i first time load the homepage of wp theme like following :

Warning: array_change_key_case() expects parameter 1 to be array, null given in C:\wamp\www\redux\wp-content\plugins\redux-framework\ReduxCore\inc\fields\typography\field_typography.php on line

  • actually this comes when there is no "googlefonts.json" file got found in the "uploads/redux/google-fonts" directory
  • but it comes only first time, when there is no google font file
  • when we second time load the wp site, it got found the "googlefonts.json", so there is no error !!
  • so we have to refresh the screen when we loading the site for first time, so is it the solution ?
  • so can we set the "googlefonts.json" to theme directory ?

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