Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1112275

    After I deployed a local project online, it is having issues. Styles aren’t loaded properly. I get several errors regarding Avia font.

    The project runs on php 7.3, and uses a child theme.

    The problem seems to be the same as in this topic: https://kriesi.at/support/topic/problem-after-changing-domain/
    As stated in the topic I have tried to deactivate the child theme and enfold theme, then tried to switch them back on. But I still don’t get the option to activate fonts.

    The error messages are:

    Warning: array_keys() expects parameter 1 to be array, bool given in C:\inetpub\wwwroot\bdfriesland.nl\www\wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php on line 856

    Warning: sort() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\bdfriesland.nl\www\wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php on line 857

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\bdfriesland.nl\www\wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php on line 858

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\bdfriesland.nl\www\wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php on line 1086

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\bdfriesland.nl\www\wp-content\themes\enfold\framework\php\font-management\class-avia-type-fonts.php on line 1056

    So since the solution from the mentioned project isn’t working for me. I’m a bit stuck. And hope you can help me.

    With kind regards.

    #1112281

    Make sure you adjusted the configurated Site URLs to match your live system.

    Delete/Refresh all Caches, Merging/Aggregation and File Compression/Minify (and deactivate them during the development and deployment process).

    Follow Step 5, 6 and 7:
    – Change the Site URL
    – Setup Your Live Site
    – Fix Images and Broken Links by Updating Paths
    => https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/#manualmigration

    #1112421

    Hi sanderjaasma,

    Did cg’s suggestion work for you or do you still need help?

    Best regards,
    Victoria

    #1112540

    Thanks cg, so yes Victoria.

    The first time I uploaded the project I did replace the localhost reference in the database dump, but apperently not all went well. So for the second time I followed the article suggested by cg.

    With kind regards
    Sander

    #1112562

    Hi Sander,

    So did you get it working for you or do you need to more help here?

    Best regards,
    Victoria

    #1112571

    Hi Victoria,

    It is working now. Thanks for asking.

    #1112625

    Hi sanderjaasma,

    Glad you got it working for you! :)

    If you need further assistance please let us know in another thread.

    We are closing this one.

    Best regards,
    Victoria

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Problem with avia-font when deploying project online’ is closed to new replies.