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.
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.
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?
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?
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.
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
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