"Uncaught ReferenceError: moment is not defined"

I just installed module updates, but didn’t really pay attention to which ones. I know FreePBX Framework was among them. Now, when I click on the “FreePBX Adminsitrator” icon, I get the JavaScript error in the console that reads: “Uncaught ReferenceError: moment is not defined at config.php:87”

I’ve tried rebooting and also running fwconsole ma upgrade all. Thinking it’s a cached file issue, I’ve also tried from other browsers.

Any tips? Thanks!

1 Like

So I’ve just upgraded ‘framework’ from to in the hopes that it would help, but still no luck. Am I stuck reinstalling?

For what it’s worth, I ended up finding that the file /admin/assets/js/pbxlib_17ce7f5bb350f1a3604805da83e63e395aa154a5.js was empty. I deleted it and a new one was created during the next page load. Cleared browser cache and I’m up and running.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.