Skip to content

Deprecation warning #8

@Mark-H

Description

@Mark-H

From https://forum.modmore.com/t/alpacka-deprecation-messages-on-php-8-4/2679:

I’m experiencing deprecation warnings with MoreGallery in my MODX installation running on PHP 8.4. The warnings appear to be coming from the Alpacka dependency.

I have some PHP CLI scripts that include MODX object (use MODX\Revolution\modX;), and that is enough to raise this erorr message in every output of this script.

Error Message:

Deprecated: modmore\Alpacka\Alpacka::getBooleanOption(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/core/components/moregallery/vendor/modmore/alpacka/core/components/alpacka/src/Alpacka.php on line 541

Environment:

MODX Revolution: 3.1.2
PHP Version: 8.4
MoreGallery: 1.18.0-rc1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions