Skip to content

PHP 8.3 fatal error due to simple_html_dom #2

Closed
@andrewcsp

Description

@andrewcsp

I've noticed that the PageShrink doesn't work in PHP 8.3 due to an issue with the simple_html_dom dependency noted here: voku/simple_html_dom#110

The specific error I'm seeing is:
PHP Fatal error: Uncaught TypeError: Cannot assign null to property DOMElement::$id of type string in /home/<user>/<core>/components/pageshrink/model/vendor/voku/simple_html_dom/src/voku/helper/AbstractSimpleHtmlDom.php:174

Running PHP 8.3.6 with MODX 2.8.7 and PageShrink 1.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions