Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • The error is being raised because no user is logged in. Before it would raise just a warning, but now is a fatal error and it breaks wp-cli, among other things.

    To fix until the developer patches on the next upcoming upgrade, just add the following 3 lines right after line 24 (on the file svg-support/functions/mime-types.php):
    //returns if user is not logged in
    if ($user->ID==0) {
    return $mimes;
    }

    The error is being raised because no user is logged in. Before it would raise just a warning, but now is a fatal error and it breaks wp-cli, among other things.

    To fix until the developer patches on the next upcoming upgrade, just add the following 3 lines right after line 24 (on the file svg-support/functions/mime-types.php):
    //returns if user is not logged in
    if ($user->ID==0) {
    return $mimes;
    }

    Mabio

Viewing 2 replies - 1 through 2 (of 2 total)