Upgraded to version 3.5 and getting error message variable LOADGLOBALUDFLIBRARIES is undefined?

And so begins the next round of "Let’s Play Troubleshoot and Google Everything For Me".

Well it worked on my local machine but when i mooved it up to the server it starts throwing an error messages

Resolved the issue. Thank you

Which is why you would begin looking at why it works locally compared to your server, and is always an extremely good reason why your development and staging you should match your production environment so that you can fix these before they happen.