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