|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jvalencia Smarty n00b
Joined: 15 May 2017 Posts: 3
|
Posted: Sun Sep 30, 2018 1:36 am Post subject: smarty notice Undefined offset 3.1.32v and 3.1.33v |
|
|
when trying to update it happens to me in both versions and it is in a section loop
{section name=field loop=$result}
{if ((isset($result[field].changeState)) and ($role_update == "1"))}
{else}
{/if}
{/section}
template return error
smarty\ce7fa0ecf0a71469a5f7beae553a6f8123a19440_0.file.Maintenance.Dispatchers.input.tpl.php:203] Undefined index: changeState
it only happens when reading an array with section
I have the same error in several templates with different index
can you help me? what should I do
tks |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sun Sep 30, 2018 11:50 am Post subject: |
|
|
Why not {foreach} ?
What is "field" ?
Can you provide an STC? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|