Fatal error: Declaration of Joomla\CMS\Event\AbstractImmutableEvent::offsetSet($name, $value) must be compatible with Joomla\Event\Event::offsetSet($name, $value): void in /www/wwwroot/jasz.fejlesztunk.eu/libraries/src/Event/AbstractImmutableEvent.php on line 65
Compile Error: Declaration of Joomla\CMS\Event\AbstractImmutableEvent::offsetSet($name, $value) must be compatible with Joomla\Event\Event::offsetSet($name, $value): void (500 Whoops, looks like something went wrong.)

FatalError

HTTP 500 Whoops, looks like something went wrong.

Compile Error: Declaration of Joomla\CMS\Event\AbstractImmutableEvent::offsetSet($name, $value) must be compatible with Joomla\Event\Event::offsetSet($name, $value): void

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#392
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of Joomla\CMS\Event\AbstractImmutableEvent::offsetSet($name, $value) must be compatible with Joomla\Event\Event::offsetSet($name, $value): void"
    "file" => "/www/wwwroot/jasz.fejlesztunk.eu/libraries/src/Event/AbstractImmutableEvent.php"
    "line" => 65
  ]
}
  1. * @return void
  2. *
  3. * @since 4.0.0
  4. * @throws \BadMethodCallException
  5. */
  6. public function offsetSet($name, $value)
  7. {
  8. // B/C check for plugins which use $event['result'] = $result;
  9. if ($name === 'result') {
  10. parent::offsetSet($name, $value);

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Declaration of Joomla\CMS\Event\AbstractImmutableEvent::offsetSet($name, $value) must be compatible with Joomla\Event\Event::offsetSet($name, $value): void

  at /www/wwwroot/jasz.fejlesztunk.eu/libraries/src/Event/AbstractImmutableEvent.php:65