Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler beim Aufrufen einer Eintragsseite mit dem Portfolio-Feld #4

Closed
rostockahoi opened this issue Aug 31, 2020 · 1 comment
Closed

Comments

@rostockahoi
Copy link
Contributor

PHP version: 7.4.0
Craft: 3.5.4
HFG Portfolio: 1.0.2

Beim Erstellen oder Bearbeiten eines Eintrags mit dem Portfolio-Feld tritt folgender auf:

[error][yii\base\ErrorException:8] yii\base\ErrorException: Trying to access array offset on value of type null in ~/vendor/hfg/portfolios/src/fields/Projects.php:130
        // Render the input template
        return Craft::$app->getView()->renderTemplate(
            'portfolios/_components/fields/Projects_input',
            [
                'name' => $this->handle,
                'value' => $value["projects"], // <------------- $value === NULL
                'field' => $this,
                'id' => $id,
                'namespacedId' => $namespacedId,
            ]
        );

@superextinct Hast du eine Idee?

@rostockahoi
Copy link
Contributor Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant