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

Add missing static_token #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mcdado
Copy link

@mcdado mcdado commented Mar 6, 2024

We have tons of these messages in our logs:

PHP Notice:  Undefined index: static_token in /var/www/example.com/cache/smarty/compile/e5/ed/c0/e5edc08ed19c8b0b839ebdaad176a065d699ae8d.file.scriptV9.tpl.php on line 68

Initially we figured it was because of an old version abandonedcarts module with a cron controller that didn't run initHeader() but ran initContent(), causing the issue, but now we see the problem again and we didn't see the cause. Should this fix all our troubles?

@pedromcp90
Copy link
Member

Hola @mcdado, la variable que comentas se añade automáticamente en el hook initHeader(), con lo cual no debería ser necesario añadirla posteriormente.
Quizá tengáis algún módulo que esté sobreescribiendo el hook initHeader() y os esté provocando ese error.

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

Successfully merging this pull request may close these issues.

2 participants