Login  Register

Error: macro or method for 'get_request_header' not found

classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Error: macro or method for 'get_request_header' not found

Darrell

I’m trying to change the macro: ‘cookie_consent_page’, just to translate this text into a different language:

This site uses some unobtrusive cookies to store information on your computer. Some cookies on this site are essential, and the site won't work as expected without them. These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking on simple links. We also use some non-essential cookies to anonymously track visitors or enhance your experience of the site.

When I click ‘Save changes’, even with no changes applied, I get the following error:

Error: macro or method for 'get_request_header' not found in [basic, nabble, ad] stack = [basic, nabble, ad] in get_request_header(nabble:javascript_library.naml:23) - in js_basic_embedding_code(custom_tweak:cookie_consent_page:19) - in text(nabble:utilities.naml:1051) - in trim(nabble:utilities.naml:1051) - - public static void nabble.naml.namespaces.BasicNamespace.trim(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in regex_replace_all(nabble:utilities.naml:1050) - - public static void nabble.naml.namespaces.BasicNamespace.regex_replace_all(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) in compress(custom_tweak:cookie_consent_page:17) - in (custom_tweak:cookie_consent_page:1) -

I would appreciate any advice about what should I do.

Thank you.