Cant publish posts – error ace/ace undefined

This topic has 14 replies, 2 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler

  • Avatar: emeliech
    emeliech
    Participant
    August 11, 2017 at 19:02

    Hello,
    When editing a product we get this error in the console:

    Uncaught TypeError: Cannot read property ‘ace/ace’ of undefined
    at s (ace.js:1)
    at r (ace.js:1)
    at Object.i [as require] (ace.js:1)
    at ace.js:1
    at ace.js:1

    I believe it is related to the theme because when changing to default theme the error disappears.

    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 14, 2017 at 08:17

    Hello,

    Sorry for the delay.
    Did you try to disable 3-rd party plugins?

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 15, 2017 at 12:16

    Hi,

    I have managed to track down the problem to Screets Live Chat, a plugin you have recommended with the theme.

    When Royal Theme is active and Screets Live Chat is inactivated: No error

    When Royal Theme is active and Screets Live Chat is Active:

    Uncaught TypeError: Cannot read property ‘ace/ace’ of undefined
    at s (ace.js:1)
    at r (ace.js:1)
    at Object.i [as require] (ace.js:1)
    at ace.js:1
    at ace.js:1

    When Storefront is active and Screets Live Chat is Active:

    ace.js?ver=5.2.1:1 Uncaught TypeError: Cannot read property ‘ace/ace’ of undefined
    at s (ace.js?ver=5.2.1:1)
    at r (ace.js?ver=5.2.1:1)
    at Object.i [as require] (ace.js?ver=5.2.1:1)
    at ace.js?ver=5.2.1:3
    at ace.js?ver=5.2.1:10

    When Default Twentytwelve theme is active and Screets Chat is active:

    ace.js?ver=5.2.1:1 Uncaught TypeError: Cannot read property ‘ace/ace’ of undefined
    at s (ace.js?ver=5.2.1:1)
    at r (ace.js?ver=5.2.1:1)
    at Object.i [as require] (ace.js?ver=5.2.1:1)
    at ace.js?ver=5.2.1:3
    at ace.js?ver=5.2.1:10

    Not sure why in my previous message the error disappeared with default theme.

    Any way, is this something you could help me with or ask Screets Live Chat about. It seems to be an error on their side, but since the plugin comes with your theme, I am not sure how to reach them.

    Thanks!

    Kind regards,

    Marcus

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2017 at 12:42

    Hello,

    Screets Live Chat plugin without correct configuration may create some issues in work of site, so if you do not plan to use this plugin, do not activate it, please.

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 15, 2017 at 13:05

    I am using it daily.

    That is not an option.

    You recommend the plugin so I think it should be fair that it works with the theme?

    Let me know how you can help me in this.

    I cannot talk to their support because I do not have a licence key with them..

    Thank you.

    Marcus

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2017 at 13:21

    Please provide wp-admin access in Private Content.

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 15, 2017 at 20:33

    Best to try on our test site first identical to the main.

    See private.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2017 at 09:26

    Hello,

    I’ve checked your test site with Twenty Twelve theme and in browser console persist the same problem, so the problem does not relate to our theme.

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 16, 2017 at 11:18

    Hi Rose,

    I thought I have been talking to you all along. Maybe you have not paid attention.

    I showed you above that the problem is slightly different error when in your theme and other themes.

    As I told you before, I realise this is a screets chat problem. However, when contacting us this is what they say:

    “Thank you for contacting Screets.
    We only provide premium support for our customers who have valid license from Envato. I suggest you to contact with theme author or asking help WordPress community to fix the issue.”

    I have gotten Screets through the Royal theme. I expect it to work.

    I have tracked down the issue as you requested in your initial reply.

    Now I need help fixing the issue. If you have contact with Screets. Can you please talk to them about the issue. The plugin should work and it is not.

    I would expect you to help me get in touch with Screets or at least borrow me a “code” / api-key which I can contact them with.

    Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2017 at 13:08

    Oh I see, I can send this request to our developers. Seems this error does not make an effect on work of site, I’ve tried to edit and publish a post. Please ignore this console message, until problem will be fixed in one of the next updates.

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 16, 2017 at 14:33

    Thank you for putting it thought to development. It would be nice also if you could contact screets live chat plugin authors so they know about this.

    I believe it is important.

    Thank you.

    Marcus

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2017 at 15:29

    You’re welcome!
    We have contacted the plugin author, hope they fix it.
    You may also report such issue in comment section https://codecanyon.net/item/wordpress-live-chat-plugin/3952877/comments

    Regards

    Avatar: emeliech
    emeliech
    Participant
    August 16, 2017 at 15:50

    Thanks for the help!

    I have written to them as well.

    Kind regards,

    Marcus

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2017 at 16:04

    You’re welcome!

    Regards

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.