i am checking PHP_8.1 compatibility for module version 7.x-1.45 and getting this error -

Deprecated function: Automatic conversion of false to array is deprecated in clientside_validation_settings_load() (line 1586 of /contrib/clientside_validation/clientside_validation.module).

CommentFileSizeAuthor
#2 3269031-1-false-to-array.patch529 bytesarx-e

Comments

rudraksh_98 created an issue. See original summary.

arx-e’s picture

StatusFileSize
new529 bytes

This patch is solving the issue by setting the $res as an empty array after the else where it is FALSE.

arx-e’s picture

Status: Active » Needs review
joseph.olstad’s picture

Issue tags: +PHP 8.1, +PHP 8.2
joseph.olstad’s picture

joseph.olstad’s picture

Assigned: Unassigned » joseph.olstad

investigating

  • joseph.olstad committed ac819617 on 7.x-1.x authored by arx-e
    Issue #3303814 by arx-e, rudraksh_98: PHP_8.1  Automatic conversion of...
joseph.olstad’s picture

Assigned: joseph.olstad » Unassigned
Status: Needs review » Fixed

Thanks for the patch

Status: Fixed » Closed (fixed)

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