New Install of 5.5.2.1 fails, but upgrade to it works!

Permalink
In a new install of Concrete5 version 5.5.2.1 on ixwebhosting.com, I tried to exclude some pages from Auto-Nav. In dashboard, I go to Page Properties > Custom Attributes. I see a list of All Attributes, but no Selected Attributes and cannot add any.

Then, starting over, I did a new install of Concrete5 version 5.4.2.2. I then immediately performed an upgrade to 5.5.2.1. Again, accessing Custom Attributes, all is as it should be. It works!

How can I correct an other existing new install 5.5.2.1 website, where a lot of time has been invested in creating content, to fix the same problem with Custom Attributes? Much time has been invested page content, so I don't want to start over with a 5.4.2.2 install followed by upgrade to 5.5.2.1 and then have to recreate all the pages.

Something must be different between a new 5.5.2.1 install versus a new 5.4.2.2 then 5.5.2.1 upgrade. If I knew why the new install fails and 5.4.2.2 to 5.5.2.1 upgrade path works, maybe I could patch the other new 5.5.2.1 website to fix the Custom Attribute problem. Any ideas?

 
wrmoyer replied on at Permalink Reply
Added note: I upgraded the website to concrete5.6.0. The Custom Attribute still fails - but with 5.6.0 I get an error message that might help identifying the problem. It is:

"Fatal error: Call to a member function getAttributeKeyID() on a non-object in /hsphere/local/home/<userid>/<domain>/updates/concrete5.6.0/concrete/elements/collection_metadata_fields.php on line 65 "

What in the world is wrong?
wrmoyer replied on at Permalink Best Answer Reply
Problem solved. Installation of a particular theme inserted an extra Attribute Key in the database. This caused the theme, and any other future theme to fail with the error shown. Manually deleting the bad line restored Custom Attributes for all themes except the bad theme.
chrisjterrell replied on at Permalink Reply
chrisjterrell
I had this issue on a fresh install and can't find the Attribute that was added. What table was it in?