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.

CommentFileSizeAuthor
#2 photos-3238670-2.patch1.36 KBnathaniel

Comments

Nathaniel created an issue. See original summary.

nathaniel’s picture

Status: Active » Needs review
StatusFileSize
new1.36 KB
nathaniel’s picture

Assigned: nathaniel » Unassigned
jhmnieuwenhuis’s picture

This patch fixes the issue.
Thanks!

nathaniel’s picture

Status: Needs review » Fixed
Related issues: +#3289079: Automated Drupal 10 compatibility fixes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.