• Resolved iaeon

    (@iaeon)


    I am getting a flashing error at the top of many Wordfence admin pages as follows:
    Warning: Creating default object from empty value in /var/www/vhosts/mydomain.tld/httpdocs/wp-admin/includes/plugin-install.php on line 192 0

    The code seems to be: $res->external = true;

    within an else if clause

    } elseif ( !is_wp_error($res) ) {
    $res->external = true;
    }

    Any idea why this is happening?

Viewing 1 replies (of 1 total)
  • Hi,
    Could you please let me know the version of WordPress, Wordfence and PHP you are running?

    Also, does this warning message disappear by temporarily deactivating Wordfence?

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Creating default object from empty value’ is closed to new replies.