Public Ticket #3055859
Error in theme


  • Martin started the conversation

    I would like to try this theme out - but I get this error in my header file and I do not get it in any other themes.

    Notice: Trying to access array offset on value of type bool in /var/www/greensworld.dk/public_html/wp-content/themes/caos/header.php on line 45

    I have activated the theme, but this is line 44-45 in the header file..

                        $logo = wp_get_attachment_image_src( absint( get_theme_mod( 'caos_logo' ) ), 'full' );

                        $logo = $logo[0];

    Any ideas?