PHP 8 Add webpush notification batch not working

Created on 21 June 2023, about 1 year ago

Problem/Motivation

PHP 8 Add webpush notification batch not working

Steps to reproduce

1.Go to /admin/content/webpush/add to create notification
2.Input the title & body
3.Click Send will trigger batch job

Expected: Batch run successfully and receive notification
Actual: Batch run error, checking watchdog error with:
Error: Cannot use positional argument after named argument in call_user_func_array() (line 243 of ..../includes/batch.inc)

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡³China Jieyyal

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024