Useful Information
call us today on 01446 733248

Error
TypeError: C:\virtualShowrooms\nodes_projects\Stocklist framework\views\51\details.ejs:142
   140|                 <input type="hidden" name="comments" value="<%= r.Comments %>">
   141|                 <input type="hidden" name="overview" value="Engine size:<%= Math.round(r.CC / 100) / 10 %>~Fuel type:<%= r.FuelType %>~Transmission:<%= r.Transmission %>~Body type:<%= r.BodyType %>~Seats:<%= r.Seats %>~Doors:<%= r.Doors %>:Exterior colour:<%= r.ExteriorColour %>~Exterior paint:<%= r.ExteriorPaintType %>~Internal colour:<%= r.InternalColour %>~Mileage:<%= parseInt(r.Mileage).toLocaleString() %> miles~Registration:<%= r.Registration %>~Registered:<%= r.RegisteredMonthYear %>">
>> 142|                 <%
   143|                 let emailList = r.Options.replace(/,/g, '~');
   144|                 %>
   145|                 <input type="hidden" name="specification" value="##<%- emailList %>">

Cannot read properties of undefined (reading 'replace')
   at eval (eval at compile (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:673:12), <anonymous>:282:43)
   at details (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:703:17)
   at tryHandleCache (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:274:36)
   at exports.renderFile [as engine] (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:491:10)
   at View.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\view.js:135:8)
   at tryRender (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\application.js:657:10)
   at Function.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\application.js:609:3)
   at ServerResponse.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\response.js:1039:7)
   at detailsView (C:\virtualShowrooms\nodes_projects\Stocklist framework\controllers\stocklistController.js:390:13)
   at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Whilst every effort has been made to ensure the accuracy of the vehicle specification, some inaccuracies may occasionally occur. It is important that you do not rely solely on this information, but check with a member of the sales staff about any features which may affect your decision to buy the car.