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
I made a member group whom I wanted to be able to view the product catalog, but not edit the products. I therefore disabled the Content permission "Edit any page".
When this permission is switched off, a PHP warning is thrown: [Warning] Missing argument 2 for Milkyway\SS\Shop\Inventory\Extensions\ProductCatalogAdmin::Milkyway\SS\Shop\Inventory\Extensions{closure}(), called in /Applications/MAMP/htdocs/restaurant-flammen/framework/forms/gridfield/GridFieldDataColumns.php on line 143 ...
It then refers to line 26 in ProductCatalogAdmin:
'callback' => function ($record, $col, $grid) {
For this project it was okay to just enable this permission again to avoid the warning, but I thought I'd just let you know.
The text was updated successfully, but these errors were encountered:
I made a member group whom I wanted to be able to view the product catalog, but not edit the products. I therefore disabled the Content permission "Edit any page".
When this permission is switched off, a PHP warning is thrown:
[Warning] Missing argument 2 for Milkyway\SS\Shop\Inventory\Extensions\ProductCatalogAdmin::Milkyway\SS\Shop\Inventory\Extensions{closure}(), called in /Applications/MAMP/htdocs/restaurant-flammen/framework/forms/gridfield/GridFieldDataColumns.php on line 143 ...
It then refers to line 26 in
ProductCatalogAdmin
:For this project it was okay to just enable this permission again to avoid the warning, but I thought I'd just let you know.
The text was updated successfully, but these errors were encountered: