User @jhmnieuwenhuis reported error:
Note code line is in version 6.0.1. The error is with call_user_func_array() in photos_node_view().
Message Error: Unknown named parameter $view in photos_node_view() (line 526 of /var/www/html/dev-dev/web/modules/contrib/photos/photos.module)
#0 [internal function]: photos_node_view()
#1 /var/www/html/dev-dev/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array()
To reproduce must have PHP 8.
1. Create an album and add some images.
2. /admin/config/media/photos under the advanced tab set a custom view for "Album photos image list view".
3. Visit the /node/{node} page for an album.
Comments
Comment #2
nathaniel commentedComment #3
nathaniel commentedComment #4
jhmnieuwenhuis commentedThis patch fixes the issue.
Thanks!
Comment #5
nathaniel commented