Open ekotov231 opened 3 years ago
Hello! I got stuck with error Invalid argument supplied for foreach() at this place https://github.com/jaimz22/DoctrineFullTextPostrgres/blob/master/src/Common/TsVectorSubscriber.php#L166. I don't know for what reason a string gets there, and not an array, perhaps it would be worth adding something like this there:
Invalid argument supplied for foreach()
if (!is_array($annotation->fields)) { $annotation->fields = [$annotation->fields]; }
My Symfony version is 5.2 and Doctrine version is 2.7. Please check this case.
Hello! I got stuck with error
Invalid argument supplied for foreach()
at this place https://github.com/jaimz22/DoctrineFullTextPostrgres/blob/master/src/Common/TsVectorSubscriber.php#L166. I don't know for what reason a string gets there, and not an array, perhaps it would be worth adding something like this there:My Symfony version is 5.2 and Doctrine version is 2.7. Please check this case.