Error in functions.php

Home Forums Greenery Pro Error in functions.php

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14768
    Kent Riboe
    Participant

    Warning: Trying to access array offset on value of type bool in /home/wpsites/SITE/wp-content/themes/greenery-pro/functions.php on line 314

    The line in question is about the fonts.
    wp_enqueue_style( ‘greenery-gfonts’, ‘//fonts.googleapis.com/css?family=’.rawurlencode($typebody[‘face’].’|’.$typelogo[‘face’].’|’.$typeh1[‘face’].’|’.$typeh2[‘face’].’|’.$typeh3[‘face’].’|’.$typ
    ….

    Seems this has been rendered wrong in wp 6.

    //K

    #14769
    Rising Themes
    Keymaster

    Hi

    Have you made any changes in functions.php file?

    Thank You

    #15345
    Oliver Loeffler
    Participant

    I’ve got also an Error by editing the header in Greenery Pro

    Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\naturrang\wp-content\themes\greenery-pro\functions.php on line 314

    #15346
    Rising Themes
    Keymaster

    Hi

    Go to Appearance >> Theme Options >> Click save options button at the bottom and issue will be resolved.

    Thank You

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.