Re: Drupal8.2 and Devel 8.x-1.0-alpha1, PHP Version 7.0.12
I'm using Profile2 and created a profile type and one test profile. On this page, /admin/config/people/profiles I selected "Devel" from the drop-down for the test profile and rec'd this error, repeated numerous times, after increasing the php memory limit to 768MB:
"Warning: var_export does not handle circular references in Drupal\Component\Utility\Variable::export() (line 61 of core/lib/Drupal/Component/Utility/Variable.php)"
I have no idea what this means, but it is not helpful to me as I can't get to the data I seek through the Devel module. Seems like something's not right.
Comments
Comment #2
willzyx CreditAttribution: willzyx commented@webpotato thanks for reporting.
Seems that drupal_variable devel dumper plugin is not the right plugin to use for dumping complex object since it not handle circular references.
Please can you describe the steps for reproduce the issue in a vanilla drupal installation? Thanks
Comment #3
willzyx CreditAttribution: willzyx commentedClosing for lack of activity. Feel free to reopen if the issue still exists
Comment #4
mausolos CreditAttribution: mausolos commentedI'm getting this error on a brand new D8 site, so I'm re-opening this old ticket.
Steps to reproduce:
System:
Below is from the logs:
...
/lib/Drupal/Component/Utility/Variable.php on line 61, referer: http://localhost/user/1
[Thu Sep 14 06:10:20.336480 2017] [:error] [pid 13701] [client 172.17.0.1:58994] PHP Warning: var_export does not handle circular references in /apps/drupal/d8root/core
/lib/Drupal/Component/Utility/Variable.php on line 61, referer: http://localhost/user/1
[Thu Sep 14 06:10:20.336497 2017] [:error] [pid 13701] [client 172.17.0.1:58994] PHP Warning: var_export does not handle circular references in /apps/drupal/d8root/core
/lib/Drupal/Component/Utility/Variable.php on line 61, referer: http://localhost/user/1
[Thu Sep 14 06:10:20.336508 2017] [:error] [pid 13701] [client 172.17.0.1:58994] PHP Warning: var_export does not handle circular references in /apps/drupal/d8root/core
/lib/Drupal/Component/Utility/Variable.php on line 61, referer: http://localhost/user/1
[Thu Sep 14 06:10:20.336589 2017] [:error] [pid 13701] [client 172.17.0.1:58994] PHP Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 26
6342400 bytes) in /apps/drupal/d8root/core/lib/Drupal/Component/Utility/Variable.php on line 61, referer: http://localhost/user/1
Good luck! :)