Skip to content

PHP compatibility #399

Description

@guidol-ive

As described in #397 I was able to boot Hypha using Ubuntu 18 with PHP 7.2.24.

On Ubuntu 20 with the default PHP 7.2.24, it works fine.

On Ubuntu 20 with forced upgrade to PHP 7.4 the app does not start. I am getting:

PHP Fatal error: Access level to DOMWrap\Traits\ManipulationTrait::inputAsNodeList() must be public (as in class DOMWrap\Traits\TraversalTrait) in /var/www/hypha/system/php-dom-wrapper/Element.php on line 75, referer: https://destadsbron.invantive.com/settings

On Ubuntu 24 with the default PHP 8.3, I am getting also:

PHP Fatal error: Access level to DOMWrap\Traits\ManipulationTrait::inputAsNodeList() must be public (as in class DOMWrap\Traits\TraversalTrait) in /var/www/hypha/system/php-dom-wrapper/Traits/ManipulationTrait.php on line 75, referer: https://destadsbron.invantive.com/settings

This might relate to the domwrapper issue I have understood to occur in PHP 8, but it also seems present then in PHP 7.4.

Is Hypha is currently only certified for use with PHP 7.2?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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