php-stamp icon indicating copy to clipboard operation
php-stamp copied to clipboard

Release 8.1.21

Open vami7ir opened this issue 1 year ago • 2 comments

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?

vami7ir avatar Jul 29 '23 10:07 vami7ir

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.

shadz3rg avatar Jul 29 '23 13:07 shadz3rg

Please test new v1 major version, if problem still persists please attach your source document with reprodusable behavior.

shadz3rg avatar Nov 18 '23 10:11 shadz3rg