You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get property 'key' of non-object in file Translation/Extractor/File/FormExtractor.php
(I think there are 2 occurrences of this code in the same file)
if (!$item->key instanceof String_) {
continue;
}
My guess is due to my code here:
[$bundles, ,] = $this->buildCache();
Not sure if it's somehow related to how the parser returns the node now? The easiest fix would be to check if $item is not null but I'm not sure if that's the correct fix.
The text was updated successfully, but these errors were encountered:
This error happens on:
The exact error is:
Trying to get property 'key' of non-object in file Translation/Extractor/File/FormExtractor.php
(I think there are 2 occurrences of this code in the same file)
My guess is due to my code here:
[$bundles, ,] = $this->buildCache();
Not sure if it's somehow related to how the parser returns the node now? The easiest fix would be to check if $item is not null but I'm not sure if that's the correct fix.
The text was updated successfully, but these errors were encountered: