AI OnAI Off
Hi,
I saw in your error log then the issue happened when loading properties for content "68__CatalogContent" in language "en". Just try to configure Logger with Debug level first and see the log to check which the error was throwed from which property. The debug message should be "Calling 'AssignMetaFieldValueToProperty'..."
Looks like some property data is corrupted. Did you change type of a property without updating the values?
You might want to pull a new database copy to your development environment.
Whenever i view the commerce section locally on my website i get this error message followed by another middleware error message when the middleware finishes and calls await _next(context); : 'Object reference not set to an instance of an object.'. None of the middleware code is affecting the request as the middlewares conditions aren't met when navigating to the commerce page the call goes to the await _next(context) line which results in a seperate error with the same basis as below for "System.NullReferenceException: 'Object reference not set to an instance of an object.'". I'm not sure what has caused this I'm unable to view any of the products as it causes this same error locally but when testing on testing and production environments everything works fine. Im assuming that the local commerce database is broken but I'm not sure if theres a way to test or fix the issue?
Middleware Error