API doesn't create landing page html when selecting theme

Your software
My Mautic version is: 2.162
My PHP version is: 7.3

Your problem
My problem is: When I create a page in the API and select a theme, no html is generated.

These errors are showing in the log:

Steps I have tried to fix the problem: