Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182852

    Hi!

    I just installed Worpress and Enfold, I added a photo and some text tot he main page and when I went to create a porfolio category this happended:

    Warning: extract() expects parameter 1 to be array, null given in /home/valok776/public_html/wp-content/themes/enfold/css/dynamic-css.php on line 35

    Warning: Cannot modify header information – headers already sent by (output started at /home/valok776/public_html/wp-content/themes/enfold/css/dynamic-css.php:35) in /home/valok776/public_html/wp-includes/pluggable.php on line 899

    The page is http://www.valokuvauskurssi.fi

    What’s the problem and what can I do?

    #182862

    Hey Alejandro!

    We’ll look into it. Please try following quick fix. Open up enfold/css/dynamic-css.php and replace

    
    extract($color_set);
    extract($main_color);
    extract($styles);
    

    with

    
    if(empty($color_set) || empty($main_color) || empty($styles)) return;
    extract($color_set);
    extract($main_color);
    extract($styles);
    

    Cheers!
    Peter

    #182907

    Hi!

    Thanks for the fast answer. This has helped by now.

    Cheers!
    Alejandro

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

The topic ‘Warning message: extract() expects parameter 1 to be array, null given’ is closed to new replies.