This article relates to the error appearing for a Punch Out customer, usually on the account selection screen as per the below




This error occurs because the user has navigated to the site without going through the Punch Out login process.  The technical reasons for this is listed below, but the essentially get the customer to make sure that they are going through the punch out process, instead of logging into the website manually via the same username and password.


Also, this error might only occur for the Visy customers due to the passing of the PlantID


The widget was sourcing out a "Punchout user session log" line that is used to display, from what I can see, a PlantID. (Did not fully test the code below the User Session Log variable)




Now, if the user was accessing the website via "normal browsing" and not through punchout, the OCILogin user session grab from the DB will not be present - hence erroring out.