Module fails in PHP 8: "Unknown named parameter"

Created on 1 September 2023, over 1 year ago

Problem/Motivation

When retrieving data with services_views on PHP 8.1, I get the error:

Error: Unknown named parameter $format_output in _services_controller_execute_internals() (line 207 of /mysite/web/sites/all/modules/services/includes/services.runtime.inc).

Steps to reproduce

Attempt to retrieve a Services View on PHP 8.

Proposed resolution

The `services_view_retrieve` function must accept all args passed by `call_user_func_array`, which is every element in `resources['views']['retrieve']`

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaphoneJon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024