0 votes
in Rock by TinaStephens (8.6k points)
edited

Christ the King receives and error when they try to edit a location. (They recently updated to 13.7). This location for example https://rock.ctk.church/admin/checkin/named-locations?LocationId=20181&ExpandedIds=6191%2C6202 when you click edit you get theseenter image description hereenter image description here

by TinaStephens (8.6k points)
Some of the locations have a question added (for Room Management) and they used Boolean. Could that be causing the error shown here? If I delete the Boolean questions and replace them with single select, all previous answers would be lost?

1 Answer

0 votes
by (13.1k points)
edited
 
Best answer

Originally posted by Unknown

This is caused by a depreciated method BindToDefinedType(). Sometimes methods get depreciated and replaced with newer methods when new versions of Rock come out. What we have to do to fix this is usually go into the code and update whatever code has been depreciated and replace it with the updated way of doing things (the error message says instead of using BindToDefinedType() we need to use a DefinedValuePicker , which will require a bit of code adjustment on the front-end and a few lines in the back-end). In this case, CentralAZ already did that so I simply copied the updated block code to Christ the King's instance.

Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...