Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

Created on 5 December 2022, about 2 years ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in social_post_album_comment_redirect() (line 203 of /var/www/html/html/profiles/contrib/social/modules/social_features/social_post/modules/social_post_album/social_post_album.module)

Steps to reproduce

On PHP 8.1 version with the AJAX Comments module enabled we have this error when we post a new comment to a post.

Proposed resolution

We need to set redirect if neither AJAX Comments nor Social Ajax Comments module is enabled.

πŸ› Bug report
Status

RTBC

Version

11.5

Component

Code (back-end)

Created by

πŸ‡·πŸ‡΄Romania Kosa Ilma

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024