Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.1.21 #17

Open
vami7ir opened this issue Jul 29, 2023 · 2 comments
Open

Release 8.1.21 #17

vami7ir opened this issue Jul 29, 2023 · 2 comments

Comments

@vami7ir
Copy link

vami7ir commented Jul 29, 2023

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 vami7ir changed the title Update 8.1.21 Release 8.1.21 Jul 29, 2023
@shadz3rg
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants