[Bug] PHP error when cookie is not set

Hi there,

My error logs are overloaded by this simple error:
Got error 'PHP message: PHP Warning: Undefined array key "global_banner" in xxx/xxx/xxx/public_html/wp-content/themes/pro/cornerstone/includes/dynamiccontent/cookies.php on line 85'

The problem is that I use {{ cookie.get({"name":"global_banner", "fallback":"0"}) }} as an condition. Instead of using the fallback it first checks cookies.php causing the error.

1 Like

We will remove that warning in the next release. You can safely ignore it for now. Have a great day.

Thank you @charlie!

1 Like

You are most welcome, @Dagaloni