CMS Development

kyl3
Contributor

query string warning concating variable

Has anyone come across this odd warning? So 'product_name_for_db' is just a text string associated with a DB field used in part of this query as a variable but hubl doesn't seem to like that. It does return results but gives 

Any work arounds or just another hubspot bug?

Screen Shot 2021-04-04 at 11.05.33 AM.png

I think this is why I get this error when I make a change in the content editor even though 'apply changes' does make those changes, annoying.

Screen Shot 2021-04-04 at 11.14.04 AM.png

0 Upvotes
4 Replies 4
alyssamwilie
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

query string warning concating variable

I ran into this today. Thinking it's a bug because it didn't use to do this; it seems to be reading the variable as blank (item.product_name_for_db) and thus warning that's it not returning any results. Only way I got the warning to go away was by not using a variable which isn't helpful 🤣

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
dennisedson
HubSpot Product Team
HubSpot Product Team

query string warning concating variable

Hey @kyl3 ,

Would you mind filing a ticket with support on this one.  I want to get some eyes on it.  @alyssamwilie , if you could get to me the module you are seeing this in as well, I will get it attached to @kyl3 's ticket. 

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

query string warning concating variable

hi @kyl3 

Did you get this resolved? 

@alyssamwilie , anything stand out to you here?

0 Upvotes
kyl3
Contributor

query string warning concating variable

no, it still gives a warning and the page gives that same warning in the
content editor.
0 Upvotes