We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my installation I stumbled over an issue, were type_group was an array which result in strpos throwing an error because it expects a string.
solr-php-ui/src/templates/view.preview.php
Line 454 in 4e9ce94
Without further investigations I fixed it by adding a check for is_string
<?php if ( $type == 'CSV row' || (is_string($type_group) && strpos($type_group, 'Knowledge graph') === 0) || strpos($type, 'Knowledge graph') === 0 )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In my installation I stumbled over an issue, were type_group was an array which result in strpos throwing an error because it expects a string.
solr-php-ui/src/templates/view.preview.php
Line 454 in 4e9ce94
Without further investigations I fixed it by adding a check for is_string
<?php if ( $type == 'CSV row' || (is_string($type_group) && strpos($type_group, 'Knowledge graph') === 0) || strpos($type, 'Knowledge graph') === 0 )
The text was updated successfully, but these errors were encountered: