- Issue created by @DresseDk
The usage of var_export
does not allow circular references. This means that if a class is added as part of the $key
or $value
variables, the site is very likely gonna get an "500 Internal Server Error" as it runs out of memory.
An example could be Drupal\Core\StringTranslation\TranslatableMarkup
.
A solution could be to use json_encode
or Symfony VarDumper instead of var_export
None.
None.
None.
Active
2.2
Code