This forum has moved to a new location and is in read-only mode. Please visit to access the new location.


Hi. I have a problem. When try to create page with events list, get an error:

Undefined offset: 1 /home/vagrant/code/ line 101

    protected function keyParametersByArgument(array $dependencies, array $parameters)
        foreach ($parameters as $key => $value) {
            if (is_numeric($key)) {
                **$parameters[$dependencies[$key]->name] = $value;**

        return $parameters;

My code on page is:

{% component 'Events' %}
{% component 'EvList' %}

Hello! I came across a very similar error, which I was finally able to fix. In component, I had declared the __contruct() function of laravel without first filling it. I first tried to delete it and then already, the error was solved on its own.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to