Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #1198653


    I am receiving these errors and my host asked me to send them to you maybe you can help

    PHP Warning: array_keys() expects parameter 1 to be array, bool given in /home/wp_vgbfwm/ on line 856

    PHP Warning: sort() expects parameter 1 to be array, null given in /home/wp_vgbfwm/ on line 857

    PHP Warning: Invalid argument supplied for foreach() in /home/wp_vgbfwm/ on line 858

    Thank you


    Hey Mohamad,

    Sorry for the late reply. Those are warnings and should not affect any functionality on your site, if you want us to have a closer look then please post admin WordPress login details in private.

    Best regards,


    If i type in it goes to a non secure web page rather than converting it to
    and they said it is because of the above mentioned errors

    Shouldnt anything typed in the internet browser be converted automatically to https ?

    Thank you



    If you have an SSL certificate then it should be used yes, and it looks like that is the case on your site as well:

    Best regards,


    ok thank you @rikard . but these warnings keep on showing and my host warns me about them .. what are they exactly and how to remove them (fix them)
    SSL fixed .. just these warnings how to solve them


    Hi Cloudypro,

    Please edit the file enfold/framework/php/font-management/class-avia-type-fonts.php and add this code:

    		if (!is_array($uploaded) || count($uploaded) < 1) {
    			return $fonts;


    $uploaded = $this->get_font_list();

    Image 2020-05-04 at 20.13.59.png

    Best regards,


    Thank you @victoria !! i did it and on will be checking with the host provider in our next support ticket if the error is still showing



    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon


    Yes you can close
    thank you



    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘PHP Error’ is closed to new replies.