-
Notifications
You must be signed in to change notification settings - Fork 358
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
TypeError: preg_match(): Argument #2 ($subject) must be of type string, int given with 6.1.0 #786
Comments
@Universal-Omega can you provide some reproduction steps? Linking to some parts in a different code base is somewhat helpful but would require a lot of work from us. Seeing your schema defined as an associative array (something only available in PHP and not part of JSON) seems to be the problem at a first glance, but I havent checked. |
There is no change in configuration between updating yet it simply fails when updating from 6.0.0 to 6.1.0 See |
I still suspect the associative array is the issue here. We are slowly bringing this project up to modern standards which includes the "new" PHP features such as native type hinting etc. Which is the case in the 6.1.0 release The issue seems to be similar to #780 where a call to Also note the docs in
Deep diving into the specific of your case (already doing more than I wanted to) I can see it breaks because the config contains a section with an incomplete list (similar to what is discussed in #784)
|
This did not happen before 6.1.0.
There is no indication of what (if anything) is actually causing it in our schema etc...
The text was updated successfully, but these errors were encountered: