Undefined Variable Error MadCap|variable. 00002E

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
WebHelpppp
Propeller Head
Posts: 78
Joined: Thu Jul 17, 2014 8:08 am

Undefined Variable Error MadCap|variable. 00002E

Post by WebHelpppp »

Hi,

When I run the styles report it lists the error 00002E (below) for all of my variables. Very annoying when I'm trying to cleanup a project.

Error: Undefined Style (selector): MadCap|variable.Company\00002ECompanyName

I tried the code below per an old thread, but that didn't fix it either. Any other suggestions?

MadCap|variable.Company
{
background: #000000;
}

and

MadCap|variable[class*="Company\00002E"]
{
background: #000000;
}
Psider
Propellus Maximus
Posts: 816
Joined: Wed Jul 06, 2011 1:32 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by Psider »

Someone else seems to have this issue in Flare 2020 r2.
viewtopic.php?f=13&t=32621
WebHelpppp
Propeller Head
Posts: 78
Joined: Thu Jul 17, 2014 8:08 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by WebHelpppp »

I finally resolved my problem. I had to declare every variable with 00002E before the name.

MadCap|variable.Company\00002ECompanyName,
MadCap|variable.Company\00002ECompanyShort,
MadCap|variable.Company\00002EFax,
MadCap|variable.Company\00002EPhoneNumber,
MadCap|variable.Company\00002EStreetAddress,
MadCap|variable.Company\00002ESupportEmail
{
mc-hyphenate: never;
}
SE-all
Jr. Propeller Head
Posts: 6
Joined: Mon Nov 16, 2020 5:53 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by SE-all »

Psider wrote:Someone else seems to have this issue in Flare 2020 r2.
viewtopic.php?f=13&t=32621
I have same issue when running the Analysis 'Undefined Styles'.
The renaming solution mentioned earlier, is not a solution.
Unfortunately the problem still persists in version r3
SE-all
Jr. Propeller Head
Posts: 6
Joined: Mon Nov 16, 2020 5:53 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by SE-all »

I have the same problem. Find it when running Analysis 'Undefined Styles'.
The renaming 'work-around' method mentioned earlier, is not the solution for me.
Unfortunately the problem persists in r3.
Hope anyone can help :-)
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by NorthEast »

The issue has been fixed in 2020 r3 - so variable styles that you have added via the VariableSet Editor will no longer be displayed as Undefined Styles.

If you're seeing undefined styles, then perhaps remove your workarounds.
SE-all
Jr. Propeller Head
Posts: 6
Joined: Mon Nov 16, 2020 5:53 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by SE-all »

Hi Dave

Thank you for the reply.

Unfortunately I do have the issue in version 3r (updated yesterday).

Please see attachment.
You do not have the required permissions to view the files attached to this post.
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by NorthEast »

The issue doesn't happen for me, so it may just be false errors in your Analyzer database.

Close Flare, then go to your project folder in Windows Explorer and delete the "Analyzer" folder - and only this folder!
When you next open the project, Flare will rebuild the Analyzer database, and hopefully it won't show any undefined variables.


That's assuming the problem is not an actual undefined variable - e.g. this might be caused if you rename the variable set or delete it.
SE-all
Jr. Propeller Head
Posts: 6
Joined: Mon Nov 16, 2020 5:53 am

Re: Undefined Variable Error MadCap|variable. 00002E

Post by SE-all »

Thanks Dave

Deleting 'Analyzer' folder helped .. partly. A few still 'pops up', but I'm happy for now :-)
Post Reply