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

Opening the CREATE GROUP page reports Error 500, Impossible to access an attribute ("indexPath") on a string variable ("New Group") #20401

Open
elrosi opened this issue Feb 23, 2024 · 1 comment

Comments

@elrosi
Copy link

elrosi commented Feb 23, 2024

🐛 **Opening the CREATE GROUP page reports Error 500, Impossible to access an attribute ("indexPath") on a string variable ("New Group") ** 🐛

Edition | CE
Version | 7.0.50
Server version | Apache/2.4.41 (Ubuntu)

Error 500, Impossible to access an attribute ("indexPath") on a string variable ("New Group")

@SanHacks
Copy link

SanHacks commented Jun 7, 2024

Hi @elrosi 😃 , did you happen to get to the root cause of this issue? if so, what was the resolution?

I have found a workaround by commenting out $blocks in the cache file that renders that twig, e.g.
var/cache/dev/twig/19/19b9b37ef72d8545e1d5a5eb408e85d7.php

yield from $this->unwrap()->yieldBlock('image', $context, []);//$blocks);
yield from $this->unwrap()->yieldBlock('navButtons', $context, []);//$blocks);
yield from $this->unwrap()->yieldBlock('title', $context, []);//$blocks);
yield from $this->unwrap()->yieldBlock('meta', $context, []);//$blocks);

But I am in need of a permanent solution, as that temp is wiped every time cache is cleared.

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

2 participants