Hi I am self hosting GrowthBook v4.3.0 and on publ...
# ask-questions
a
Hi I am self hosting GrowthBook v4.3.0 and on publishing i am greeted with the following error: Cannot read properties of undefined (reading 'type')
f
hi Neil
can you connect to the backend directly? port 3100 is the default port
a
yep I can connect, everything else works
f
oh
only when publishing
what are you publishing?
a
I have a has a few more problems but i have fixed that by adding indexes. just stuck on this one.
A new version of an existing feature
f
can you share or DM a screen shot? Anything in the name or rules which might be unescaped?
a
Fixed it, i created a duplicate of the feature which worked and noticed something weird in the json document. This section:
Copy code
"production" : {
            "rules" : [ ],
            "enabled" : false
        },
        "upgradetest" : {
            "enabled" : true
        }
    }
Removed this bit
Copy code
Deleted         "upgradetest" : {
            "enabled" : true
        }
Once i removed that publish for that feature started working