Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    If you click on the network tab from the console and try to save again do you see any red (you can filter XHR only)? There might be more info there.

    MetaSlider will try to catch other errors, so even though the error looks like it’s from MetaSlider, it might not be.

    Thread Starter peteratomic

    (@peteratomic)

    Nope, not seeing anything red there.

    The error popup is mostly styled with “swal2-container” but unfortunately all the styles are inline, so can’t tell where the css is coming from.

    Does that look like one of your classes?

    Hi,

    Yes, as I mentioned we capture and show any JS errors even if they are not from us.

    Sometimes “undefined” as the error message means the response from the network was malformed. Even if it’s not red, can you look at the “preview” part of the response from the server after saving?

    There could be an error message there, or if not maybe send a screenshot?

    Thread Starter peteratomic

    (@peteratomic)

    Do you mean by double clicking the “save” action that appears in the network tab after clicking save in Meta Slider? Firefox creates a new tab with some minimal details:

    code “rest_no_route”
    message “Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist.”
    data
    status 404

    The site is in german, so that message is “No route was found that is identical to the URL and the request method.”

    Hi,

    If the rest route isn’t found then MetaSlider will make a second try using admin-ajax.php (it should show underneath it). You should check there.

    If the rest route doesn’t exist though then that’s another issue. Do you have something on your site that disables rest routes?

    Hi,
    We updated the plugin and getting a similar issue when trying to add slides. When we add a slide the following logs are written in the console ending with an error. Also, the save button remains disabled. We looked into Network tab but there is no error reported. The slideshow save requests completed successfully. The site is using MetaSlider 3.18.7 and MetaSlider – Pro Add-on Pack 2.7.1. Please suggest what to do.

    MetaSlider: Closing add slide UI... app.min.js:2:502403
    MetaSlider: Preparing 1 slide... app.min.js:2:502403
    MetaSlider: 1 slide added successfully app.min.js:2:503069
    MetaSlider: Saving... app.min.js:2:502403
    MetaSlider: Settings saved app.min.js:2:503069
    MetaSlider (save-error): undefined app.min.js:2:503380
    notifyError https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        e https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        (Async: promise callback)
        e https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        l https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        _invoke https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        e https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        _t https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        s https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        xt https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        xt https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        save https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        mounted https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        Ut https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        $emit https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        triggerEvent https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/app.min.js?ver=3.18.7:2
        success https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/admin.js?ver=3.18.7:1
        (Async: setTimeout handler)
        success https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/admin.js?ver=3.18.7:1
        (Async: setTimeout handler)
        success https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/admin.js?ver=3.18.7:1
        jQuery 6
        <anonymous> https://ptnc.local/wp-content/plugins/ml-slider/admin/assets/dist/js/admin.js?ver=3.18.7:1
        Backbone 9
        click https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        click https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        jQuery 9
        Backbone 6
        constructor https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        i Backbone
        set https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        mainInsertToolbar https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        Backbone 4
        t https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        trigger https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        render https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        mode https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        render https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        <anonymous> https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        _postActivate https://ptnc.local/wp-includes/js/media-views.min.js?ver=5.5.1:2
        Backbone 2
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can’t save “Undefined error occurred”’ is closed to new replies.