• Resolved curtzt

    (@curtzt)


    EME has been working fine, but now, using Version 2.0.53, I can’t add locations to events. I get the edit window; I type in a name; but when I enter an address the name field goes blank.

    The JavaScript console shows a set of errors, starting with a syntax error right at the beginning of the load-scripts.php routine, in line 8.

    It looks like this:
    1 /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
    2 !function(a, b) {
    3 “object” == typeof module && “object” == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
    4 if (!a.document)
    5 throw new Error(“jQuery requires a window with a document”);
    6 return b(a)
    7 } : b(a)
    8 }(“undefined” != typeof window ? window : this, function(a, b) {

    Exception with thrown value: SyntaxError: The string did not match the expected pattern.

    The GoDaddy server where this is hosted has been acting flaky for several days, with slow response times, intermittently failing to load images, and hanging up when updating modules, so maybe the problem’s with their JQuery install?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Franky

    (@liedekef)

    That error gets triggered by some javascript (maybe godaddy stuff, or some counter …). Find that javascript and disable it, then your backend will work again.

    Thread Starter curtzt

    (@curtzt)

    Thanks for the prompt reply!

    Plugin Author Franky

    (@liedekef)

    I appreciate the thank-you, but I hope you can get it to work again 🙂

    I’m getting this problem, too. Unfortunately, I’m not code-savvy enough to go an find the syntax error or the java script that might be causing it. I’m not afraid to edit a file on the back end, but I don’t know where to look nor do I know how to access the java script console. I don’t mean to be needy. But, can you possibly lend a little time to provide some direction to help me get started in the right direction?

    I should probably add that my site is hosted on SiteGround and is very stable. So, I don’t think the error is caused by weirdness with my hosting service.

    Plugin Author Franky

    (@liedekef)

    I’m sorry, but you don’t provide much info to go on. The only thing I can say is to check your browser console for errors. Most of the time this error is due to another plugin or your theme. So start with disabling all plugins and re-enable one by one and check again. If disabling all doesn’t change your problem, try first with a default wp theme (twentyseventeen or so). Make sure no caching is implemented too, and clear your browser cache.

    Thread Starter curtzt

    (@curtzt)

    I think I tried all these suggestions, without success. However, there does seem to be a workaround on my site. Try entering the new location on the Locations page as a first step. After it’s in the database, you seem to be able to enter it successfully when entering particular events using the little pull down menu for locations on the page you get with the Location tab.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem adding locations’ is closed to new replies.