• Resolved Mark Barnes

    (@mark8barnes)


    We’re receiving the following PHP Notice:

    Undefined property: DiDom\Document::$tag in …wp-content/plugins/gallery-custom-links/classes/linker.php line 18

    This is on PHP 7.4 and WordPress 5.7.2.

    Changing the line to
    if ( !empty( $potentialLinkNode->tag ) && $potentialLinkNode->tag === 'a' ) {
    fixes the problem

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined property: DiDom\Document::$tag’ is closed to new replies.