Skip to content

Strange Magento 2.4.6-p2 PageBuilder problem while installing “Missing required argument $characterSet of GtDomDocument”

Can somebody help?
I have installed magento 2.4.6-p2 and wanted to install Pagebuilder.
So I downloaded “magento2-page-builder-develop”, but i get an error while compiling:

Unable to apply data patch MagentoPageBuilderSetupPatchDataUpgradePageBuilderStripStyles for module Magento_PageBuilder. Original exception message: Missing required argument $characterSet of GtDomDocument.

After that when I did setup:di:compile
I get these errors:

Compilation was started.
Area configuration aggregation… 5/9 [===============>————] 55% 27 secs 276.0 MiB
In ClassReader.php line 57:

Impossible to process constructor argument Parameter #1 [ GtDomTokenList $tokenList ] of MagentoPageBuilderModelDomTokenList class

In GetParameterClassTrait.php line 34:

Class “GtDomTokenList” does not exist

I dont know what do?
Help???