php-stamp
php-stamp copied to clipboard
Release 8.1.21
After the release of PHP 8.1.2, template generation stopped working, gives the following error: Uncaught TypeError: PHPStamp\Templator::searchAndReplace(): Argument #1 ($nodeList) must be of type DOMNodeList, bool given, called in. After a little research, we managed to find out that the problem is in the formation of the template in the file "Processor.php" line "35" $template->appendChild($document->documentElement); How to solve this problem?
Hey, there is not so much activity lately in this project but i'll try to make it compatible with modern PHP release, stay tuned.
Please test new v1 major version, if problem still persists please attach your source document with reprodusable behavior.