Alucard2008 Posted April 3, 2018 Share Posted April 3, 2018 Hello, after the update I have this error: scripts.min.js?v=5686db:2 Uncaught TypeError: WHMCS.utils.getRouteUrl is not a function at HTMLFormElement.<anonymous> (scripts.min.js?v=5686db:2) at HTMLFormElement.dispatch (scripts.min.js?v=5686db:2) at HTMLFormElement.$.handle (scripts.min.js?v=5686db:2) at Object.trigger (scripts.min.js?v=5686db:2) at HTMLFormElement.<anonymous> (scripts.min.js?v=5686db:3) at Function.each (scripts.min.js?v=5686db:1) at pt.fn.init.each (scripts.min.js?v=5686db:1) at pt.fn.init.trigger (scripts.min.js?v=5686db:3) at Object.<anonymous> (scripts.min.js?v=5686db:1) at l (scripts.min.js?v=5686db:2) Please help me. Link to comment Share on other sites More sharing options...
lyra2018 Posted April 3, 2018 Share Posted April 3, 2018 Same error when I try to find a domain name, any help? Link to comment Share on other sites More sharing options...
johnnyheredia Posted April 4, 2018 Share Posted April 4, 2018 I have the same error. Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted April 4, 2018 WHMCS Technical Analyst II Share Posted April 4, 2018 Hello, Thank you for your post! It looks like your custom theme has not been updated for use with version 7.5 of WHMCS. If you check this issue using the six theme is the JS error still present? The six theme shipped by WHMCS is updated for version 7.5. Here are the changes made between 7.4.2 and 7.5 template related: https://github.com/WHMCS/templates-six/compare/v7.4.2-release.1...v7.5.0-release.1#diff-8faf96d5986bd6149561eaa4cdb94399 I hope this helps. 1 Link to comment Share on other sites More sharing options...
josepht Posted April 5, 2018 Share Posted April 5, 2018 I've also encountered the same error, using (the latest versions of six and standard_cart) Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted April 5, 2018 WHMCS Technical Analyst II Share Posted April 5, 2018 Hey @josepht Thank you for your post! Have you installed a fresh copy of the `six` theme and checked if the issue persists then? To do this, click here. Once you have downloaded version 7.5, extract it and locate the `six` theme at `/whmcs/templates/six`. As I do not know if you have customized your six theme or not, please rename this to `seven` and then upload it to your `/templates` directory. Once uploaded, switch to this `seven` theme and see if the issue still persists then. If it does, please open a ticket with us, or, if you have one open, let me know the ticket ID so I can add these notes to it. Please ensure we have access to your installation and WHMCS directory over FTP, which you can submit securely in the ticket as we will need that level of access to debug this. Thanks! Link to comment Share on other sites More sharing options...
josepht Posted April 5, 2018 Share Posted April 5, 2018 Hi Alex, I can confirm that I was using the new versions of the six theme files (with the exception of a few minor cosmetic changes to a couple of the .tpl files (which have been manually merged into the v7.5 files from the live version of my template files using WinMerge). The same is true of the standard_cart files. I had definitely not at any point changed any of the six or standard_cart javascript files from those that were released in v7.5. For what it's worth, the script I'm seeing invoke that function is from standard_cart, and not six. I've subsequently partially reverted the script file (or at least the sections of the file where that function was invoked in the context of the choose domain page) to the 7.4.2 version of the files (where the ajax request was simply sent to cart.php), as the error would have prevented my customers actually purchasing anything, and this has bypassed the issue for now. I've got a ticket open with the following ID: JLE-961061 Link to comment Share on other sites More sharing options...
Kirill Posted April 5, 2018 Share Posted April 5, 2018 Hello, After recent update to v7.5 we're facing an issue with domain search form. When customer enters the domain name and clicks "Search", the form stucks: At the same time JS console shows an error: We've applied a recently released hotfix for `common.tpl` but it didn't help. Any other ideas how to fix it? Link to comment Share on other sites More sharing options...
MarekD Posted April 5, 2018 Share Posted April 5, 2018 4 hours ago, josepht said: Hi Alex, I can confirm that I was using the new versions of the six theme files (with the exception of a few minor cosmetic changes to a couple of the .tpl files (which have been manually merged into the v7.5 files from the live version of my template files using WinMerge). The same is true of the standard_cart files. I had definitely not at any point changed any of the six or standard_cart javascript files from those that were released in v7.5. For what it's worth, the script I'm seeing invoke that function is from standard_cart, and not six. I've subsequently partially reverted the script file (or at least the sections of the file where that function was invoked in the context of the choose domain page) to the 7.4.2 version of the files (where the ajax request was simply sent to cart.php), as the error would have prevented my customers actually purchasing anything, and this has bypassed the issue for now. I've got a ticket open with the following ID: JLE-961061 Hi, You can submit which files have been restored so that the domain finder works again? I have the same problem and the ticket is waiting for a solution, the setting of the new version theme not sovled this problem. Link to comment Share on other sites More sharing options...
MarekD Posted April 6, 2018 Share Posted April 6, 2018 Do you test in incognito mode? I test in incognito mode, and domain search works fine, but if test in normal chrome - domain check never stop ... Link to comment Share on other sites More sharing options...
Kirill Posted April 7, 2018 Share Posted April 7, 2018 @MarekD, did you try to delete the browser cache or do the full page reload (Ctrl-Shift-R or Cmd-Shift-R depending on your OS)? Link to comment Share on other sites More sharing options...
Recommended Posts