Cannot perform runtime binding on a null reference
I am really not sure what is causing this issue and could use some help. So basically we have a site that has a doctype called "product" and another doctype that is called "product(copy)" with the alias "morrellsProduct_Copy" that just has a multitreenode picker with the alias "copiedProduct" that is used to select that original product page. I get an error on the product copy page that looks like this
I have checked the doctype alias in the if statement to make sure it is the correct one as well as the property value that is inside the if statement. What's also strange is we have a test site and it's using the exact same code, but the product copy page works fine on the test site. If anyone has any suggestions as to what could cause this to happen I would appreciate it. Also I am using version 7.5.14 Here is the code block that breaks.
Cannot perform runtime binding on a null reference
I am really not sure what is causing this issue and could use some help. So basically we have a site that has a doctype called "product" and another doctype that is called "product(copy)" with the alias "morrellsProduct_Copy" that just has a multitreenode picker with the alias "copiedProduct" that is used to select that original product page. I get an error on the product copy page that looks like this
I have checked the doctype alias in the if statement to make sure it is the correct one as well as the property value that is inside the if statement. What's also strange is we have a test site and it's using the exact same code, but the product copy page works fine on the test site. If anyone has any suggestions as to what could cause this to happen I would appreciate it. Also I am using version 7.5.14 Here is the code block that breaks.
This might be dumb, but is it possible that the MNTP on the production site doesn't have anything picked or that the cache needs to be refreshed?
There is something picked on the MNTP. I tried refreshing the browser's cache I'm not sure if that's what you mean or not.
Sorry, meant the Umbraco cache, click on the top of the content tree and "republish entire site".
Unfortunately that did not work either I just tried it.
is working on a reply...