MY experience with Grav 2 is HORRIBLE.
I used grav as a multisite, working all like a charm since grav 2 shows up.
i started with a blank installation and started to migrate content as well as plugins and themes and NOTHING is working! Have to rework soooooo much that i think of changing to a complete different CMS as Grav2 feels completly different and with this upgrade experience i lost my confidence in grav at the moment completly.
Now, i had a small running grav2 installation (from, scratch, only demo content) and than oday the update to 2.0.1 was released and i updated my fresh installation: BOOM .. next error :
/var/www/html/grav-2/system/src/Pimple/Container.php
$this->keys[$id] = true;
}
/**
* Gets a parameter or an object.
*
* @param string $id The unique identifier for the parameter or object
*
* @return mixed The value of the parameter or an object
*
* @throws UnknownIdentifierException If the identifier is not defined
*/
public function offsetGet(mixed $id): mixed
{
if (!is_string($id)) {
throw new InvalidServiceIdentifierException($id);
}
if (!isset($this->keys[$id])) {
throw new UnknownIdentifierException($id);
}
if (
isset($this->raw[$id])
|| !is_object($this->values[$id])
|| isset($this->protected[$this->values[$id]])
|| !method_exists($this->values[$id], '__invoke')
) {
return $this->values[$id];
}
if (isset($this->factories[$this->values[$id]])) {
return $this->values[$id]($this);
}
$raw = $this->values[$id];
$val = $this->values[$id] = $raw($this);
$this->raw[$id] = $raw;
$this->frozen[$id] = true;
Arguments
-
"Identifier "user" is not defined."
WTF!?
i'm very unhappy how those many changes killing all my months of work and seems forcing me to a complete different system with much better update/upgrade stability.
What are your experiences? Currently the last hours invested into "learning grav from the ground" with fresh install playing around getting errors over errors dissapoint me!