Skip to content

PHP 8.1: TypeError: set_exception_handler(): Argument #1 ($callback) must be a valid callback or null, class PGPReader does not have a method "exception_handler" in set_exception_handler() #83

@argiepiano

Description

@argiepiano

When running coder upgrade with PHP 8.1, trying to convert a module, I get:

TypeError: set_exception_handler(): Argument #1 ($callback) must be a valid callback or null, class PGPReader does not have a method "exception_handler" in set_exception_handler() (line 107 of /Users/XXX/Sites/localhost/XXX/modules/coder_upgrade/grammar_parser/parser.inc).

It runs find in 7.4

Metadata

Metadata

Assignees

No one assigned

    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