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

    There is an excellent utility for managing WordPress instances via command line: http://wp-cli.org
    It’s partially incompatible with Enfold because produces lot of annoying warnings:

    PHP Warning:  Invalid argument supplied for foreach() in /var/www/webapps/wordpress/wp-content/themes/enfold/includes/admin/register-dynamic-styles.php on line 20
    Warning: Invalid argument supplied for foreach() in /var/www/webapps/wordpress/wp-content/themes/enfold/includes/admin/register-dynamic-styles.php on line 20
    PHP Warning:  extract() expects parameter 1 to be array, null given in /var/www/webapps/wordpress/wp-content/themes/enfold/css/dynamic-css.php on line 36
    Warning: extract() expects parameter 1 to be array, null given in /var/www/webapps/wordpress/wp-content/themes/enfold/css/dynamic-css.php on line 36
    PHP Warning:  extract() expects parameter 1 to be array, string given in /var/www/webapps/wordpress/wp-content/themes/enfold/functions-enfold.php on line 1297
    Warning: extract() expects parameter 1 to be array, string given in /var/www/webapps/wordpress/wp-content/themes/enfold/functions-enfold.php on line 1297

    This patch fixes them: https://gist.github.com/ilyaevseev/3a04e34da9b5b2235168

    #602847

    BTW, I already wrote about this problem several months ago, but it still unfixed((

    #603047

    Hey!

    We forwarded your message to our devs. Thanks for tip :)

    Best regards,
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Patch for suppress warnings in WP-Cli’ is closed to new replies.