Is anyone else running SCA 2018.2 and receiving th...
# suitecommerce
o
Is anyone else running SCA 2018.2 and receiving the following error on a PDP for an OOS non-matrix item? One of our web stores SC Stock Notification extensions was updated to 1.1.5 and this occurs, our other web store remains on 1.1.4 and does not manifest this error.
Copy code
Uncaught TypeError: Cannot read properties of null (reading 'getUserProfile')
    at new SubscriptionCreateView (shopping_20.js?t=1638421792720:6955)
    at PdpView.StockNotifications.Subscription.Create (shopping_20.js?t=1638421792720:6733)
    at PdpView.createChildViewInstance (Backbone.CompositeView.js:392)
    at Backbone.CompositeView.js:361
    at Function._.each._.forEach (underscore.js:158)
    at Backbone.CompositeView.js:350
    at Function._.each._.forEach (underscore.js:158)
    at PdpView._createChildViewInstances (Backbone.CompositeView.js:348)
    at PdpView.renderCompositeView (Backbone.CompositeView.js:249)
    at PdpView._render (Backbone.View.render.js:156)
s
Oh dear. I think you might need to raise a case. It appears the Stock Notifications is trying to use the UserProfile component which is not available in SCA until 19.1. Stock Notifications was originally designed to work with 18.1 and so it looks like the devs updated it to use a more modern component. Please let me know the case number
o
Case 4517481 for this one. I’d figured that was the culprit. Support pointed out to me how to roll it back to 1.1.4, which got us out of the woods for the time being. Thanks Steve šŸ™‚
āœ… 1