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 Silverstripe 4.12 (php 8.1) I get an error when I want to open a menuset. This is because $default_sort is set as an array in MenuLink.php line 86.
Changing private static $default_sort = ['Sort' => 'ASC']; to private static $default_sort = 'Sort'; will solve this.
private static $default_sort = ['Sort' => 'ASC'];
private static $default_sort = 'Sort';
As $default_sort should not be an array according this issue in gridfieldextensions: symbiote/silverstripe-gridfieldextensions#344
The text was updated successfully, but these errors were encountered:
This will be fixed by #15 @gorriecoe any chance to merge that pull request and fix this error?
Sorry, something went wrong.
default_sort
Array to string conversion
array
I recommend closing this - the underlying issue was fixed in symbiote/silverstripe-gridfieldextensions 3.5.1 and symbiote/silverstripe-gridfieldextensions 3.6.1
No branches or pull requests
In Silverstripe 4.12 (php 8.1) I get an error when I want to open a menuset. This is because $default_sort is set as an array in MenuLink.php line 86.
Changing
private static $default_sort = ['Sort' => 'ASC'];
toprivate static $default_sort = 'Sort';
will solve this.As $default_sort should not be an array according this issue in gridfieldextensions: symbiote/silverstripe-gridfieldextensions#344
The text was updated successfully, but these errors were encountered: