Support » Theme: Dazzling » header error

  • Hello,
    I get the following error in the WP error log:

    PHP Notice: Trying to get property of non-object in /…/wp-content/themes/dazzling/header.php on line 80

    On line 80 in header.php is:
    if( get_post_meta($post->ID, ‘site_layout’, true) ){
    $layout_class = get_post_meta($post->ID, ‘site_layout’, true);

    Does anyone know how I can resolve this?

    The page I need help with: [log in to see the link]

  • The topic ‘header error’ is closed to new replies.