• Resolved taketotheroad

    (@taketotheroad)


    Hi there, I updated the slider plugin earlier this week to the latest version (3.16.2). Now when I go to edit my slides using the left toolbar in WP, I get a blank page. The add-ons page link works, but the Metaslider link just takes me to a blank page. The WP toolbar top and bottom remains functional. I’ve deactivated the plugin and cleared caches and reactivated the plugin but that hasn’t worked. So something is stopping the Metaslider content from loading. This is the first issue I’ve had with the plugin after an update, its always been very reliable. This problem only occurred with the most recent update. The slider is working on my website frontpage which is a relief but I need to update the slides and can’t now. Any ideas or suggestions? Thanks, Niall

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

    Can you check for error in the browser console?

    https://updraftplus.com/faqs/how-do-i-open-my-browsers-developer-tools/

    Thread Starter taketotheroad

    (@taketotheroad)

    Thanks. I’ve had a look and its picked up the following error:

    TypeError: p is undefined

    Which is affecting the following: ml-slider/admin/assets/js/app-3-16-2.min.js:2

    There are 6 rows with the above link path returned.

    Can you enable debugging? You might get a better error message.

    Add this to your wp-config.php file

    define( ‘SCRIPT_DEBUG’, true );

    Then remove when finished.

    Thread Starter taketotheroad

    (@taketotheroad)

    Ok have done this. The console report is the same with no changes. I’ve looked at the debugger tab (using Firefox) and navigated to “ml-slider/admin/assets” and looked at the two js files.

    As the console error mentioned “app-3-16-2.min.js” I searched for “undefined” which returned 70 results in that file. I then check for type p as thats what the console reported and noticed “type Promise” as being undefined. Not sure if thats related?

    This also jumped out:

    ” (“Undefined error occurred”,”ml-slider”)),e.hasOwnProperty(“message”)&&(e=e.message),”string”==typeof e&&n&&this.notify.fire({showConfirmButton:!0,timer:null,icon:”error”,iconHtml: ”

    The last update in the changelog was the “Gutenberg module to use the new @wordpress/block-editor library”. So I assume something happened with that update.

    Hi @taketotheroad

    Can you look in under the Network tab and see what is being returned? “Undefined error occurred” is the message that will show when the actual error message is either malformed or just empty.

    Thread Starter taketotheroad

    (@taketotheroad)

    Just checked under network. The following are being returned:

    admin.php?page=metaslider – is status 200. Size is 670.42 KB. Transferred is 137.40 KB. Method is Get.

    metaslider_logo_large.png – is status 304. This is cached. Method is Get.

    Can you look at the XHR requests only and make sure each is returning properly? See anything in red?

    In Chrome it will look like this. https://prnt.sc/rzqxjc

    Actually, can you switch to Chrome just to see if there is any difference?

    Thread Starter taketotheroad

    (@taketotheroad)

    Thanks. I don’t use Chrome actually. Firefox is showing admin.js:1348:10 as “undefined undefined”. XHR list looks ok.

    Just going back to the TypeError p is undefined, it is pointing at this now: app-3-16-2.min.js:2:505939

    HI,

    I don’t use Chrome actually

    I requested you try in Chrome to see if there is any difference in error message. The error messages you are getting now are not helpful (not that Chrome will necessarily be better).

    Without more information there isn’t much I can do.

    Can you disable all other plugins momentarily to rule out plugin conflicts?

    Thread Starter taketotheroad

    (@taketotheroad)

    Ok I have installed Chrome!

    Console has this detail but not much else:

    app-3-16-2.min.js:2 Uncaught TypeError: Cannot read property ‘__’ of undefined
    at Module.<anonymous> (app-3-16-2.min.js:2)
    at n (app-3-16-2.min.js:2)
    at Object.<anonymous> (app-3-16-2.min.js:2)
    at n (app-3-16-2.min.js:2)
    at app-3-16-2.min.js:2
    at app-3-16-2.min.js:2

    Looking through the page code in Elements I spotted this:

    Customise

    I have deactivated a couple of plugins but they have had no affect.

    At the end of the day I am not a coder so I don’t know what to look for. It is very odd that the Add Ons page, which is not used, works fine and loads right away.

    Hi,

    Can you just delete the plugin and re-install it? The error indicates that a core function is missing. Maybe keep the browser console open while it’s installing too in case there are some errors.

    It is very odd that the Add Ons page

    No code is running on that page so it’s difficult for that page to not be working properly.

    Thread Starter taketotheroad

    (@taketotheroad)

    Right so I deleted the plugin, cleared the caches and reinstalled. Plugin loads the slider on my frontpage and still has the data so the plugin works as if it wasn’t deleted. The settings page is still blank and the same Uncaught TypeError is showing up.

    I watched the console as the plugin installed and nothing jumped out.

    Can you send screenshots of what each of the items are returning under the network tab? I’ll try to see if there’s anything that looks off.

    Something like this but for each one. https://prnt.sc/rzv0bp

    Thread Starter taketotheroad

    (@taketotheroad)

    I can try. Is there an option on here to upload screenshots? I don’t seem to have one.

    Hello Gentlemen,

    I am facing the same problem of @taketotheroad since yesterday. I have deleted both ml and ml-pro. Website works fine but the plugin is still blank and I can’t change my website Homepage

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Plugin settings page vanished’ is closed to new replies.