Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed memory size of 134217728 bytes exhausted #912

Open
oleg-demidov opened this issue Apr 1, 2018 · 1 comment
Open

Allowed memory size of 134217728 bytes exhausted #912

oleg-demidov opened this issue Apr 1, 2018 · 1 comment
Labels

Comments

@oleg-demidov
Copy link
Contributor

oleg-demidov commented Apr 1, 2018

[2018-04-01 06:00:09] default.ALERT 21247 1f9c987: Fatal Error (E_ERROR): Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) {"code":1,"message":"Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes)","file":"/var/www/ls.loc/framework/libs/vendor/Smarty/libs/sysplugins/smarty_internal_templatebase.php","line":179}

`{extends 'component@field.field'}

{block 'field_options' append}
{component_define_params params=[ ]}

{/block}

{block 'field_input'}
{component 'field.radio' name='role' value='master'}
{/block}`

Когда поле внутри поля
PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS )

@mzhelskiy
Copy link
Contributor

Есть подозрение, что происходить рекурсия вызова одного шаблона из другого. Соответственно нужно добавить условие на вставку дочернего шаблона, чтобы была логика остановки рекурсии.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants