Error when trying to log-in to admin

Front end works fine -
but in admin after passing user and password I get an ERROR screen :

Argument 1 passed to Grav\Common\Data\Data::__construct() must be of the type array, string given, called in …/system/src/Grav/Common/GPM/Remote/Package.php on line 16

Have no idea cause I’m not a programmer.
Have looked at my local back-uo files from the other day, and they look identical to the ones on the server.
FTP works fine.

In the top right black error-window it say :

/home/ecu113306/domains/ortendahlsfond.se/public_html/system/src/Grav /Common/Data/Data.php
use NestedArrayAccessWithGetters, Countable, Export;

protected $gettersVariable = 'items';
protected $items;

/**
 * @var Blueprints
 */
protected $blueprints; 

/**
 * @var File
 */
protected $storage;

/**
 * @param array $items
 * @param Blueprint|callable $blueprints
 */
public function __construct(array $items = array(), $blueprints = null)
{
    $this->items = $items;
    $this->blueprints = $blueprints;
}

/**
 * Get value by using dot notation for nested arrays/objects.
 *
 * @example $value = $data->value('this.is.my.nested.variable');
 *
 * @param string  $name       Dot separated path to the requested value.
 * @param mixed   $default    Default value (or null).
 * @param string  $separator  Separator, defaults to '.'
 * @return mixed  Value.
 */
public function value($name, $default = null, $separator = '.')
{
    return $this->get($name, $default, $separator);
}

Arguments
“Argument 1 passed to Grav\Common\Data\Data::__construct() must be of the type array, string given, called in /home/ecu113306/domains/ortendahlsfond.se/public_html/system/src/Grav/ Common/GPM/Remote/Package.php on line 16”

What am I missing here ?

Regards
Torbjörn

This is an issue caused by a recent update to the Feed plugin, remove the current Feed plugin, clear your cache (GPM or empty /cache folder) and things should work again. Update in the works for the plugin I understand.

Thanks for the reply.
I don’t know how - but today (after two days) everything was hunky-dory.
Worked like a charm when logging in, without me doing anything.

Just one question :
What is the Feed plugin you are reffering to?
Cant find any Feed plugin among the plugins.

I do have a CookiesPolicy plugin that are giving me headache - but I’ll try to get it working later on.

Well, I thought it was the cause but maybe not🙂 That error message looked the same as others were getting when there was an issue with the Feed plugin (which gives your site an RSS feed, see https://github.com/getgrav/grav-plugin-feed). The plugin has also since been updated.

Thanks. Have no idea why I after login, not could access the Admin panel for two days. But now it works again :slight_smile: