- Issue created by @arnoldbird
- Status changed to Needs review
10 months ago 6:28am 13 February 2024 - 🇺🇸United States arnoldbird
In Drupal 10.1.6, after I apply the patch, I get...
The website encountered an unexpected error. Please try again later.
ArgumentCountError: Too few arguments to function Twig\Environment::loadTemplate(), 1 passed in /var/www/html/web/modules/contrib/infogram/src/Infogram.php on line 32 and at least 2 expected in Twig\Environment->loadTemplate() (line 330 of /var/www/html/vendor/twig/twig/src/Environment.php).
- 🇺🇸United States arnoldbird
I think we just need to change this...
$twig->loadTemplate($this->templatePath);
...to this...
$twig->load($this->templatePath);