deliciousbrains / wp-migrate-db

WordPress plugin that exports your database, does a find and replace on URLs and file paths, then allows you to save it to your computer.
https://wordpress.org/plugins/wp-migrate-db/
343 stars 513 forks source link

Error: ReferenceError: Can't find variable: ResizeObserver #119

Closed evandrolamaral closed 3 years ago

evandrolamaral commented 3 years ago

When I choose: "+ New Migration", I have this error, and don't open a dialog for migration:

Oops! An error occured! Here’s what we know… Error: ReferenceError: Can't find variable: ResizeObserver Stacktrace: in si in div in Unknown in f in no in Po in Do in t in div in div in t in styled.div in div in t in es in div in t in styled.div in t in t in py in t

My diagnostics info here:

I remove this variables for secure: site_url():
home_url():
Database Name:

Table Prefix: wpxs_ WordPress Version: 5.7.2 WP Migrate DB: 2.0.1 Web Server: ..................... LiteSpeed PHP: ............................ 7.4.16 WP Memory Limit: ................ 40M PHP Time Limit: ................. 90 Blocked External HTTP Requests: None fsockopen: ...................... Enabled OpenSSL: ........................ OpenSSL 1.1.1d 10 Sep 2019 cURL: ........................... Enabled Enable SSL verification setting: No Opcache Enabled: ................ Enabled MySQL: ................... 10.3.29-MariaDB ext/mysqli: .............. yes WP Locale: ............... pt_BR DB Charset: .............. utf8 WPMDB_STRIP_INVALID_TEXT: No Debug Mode: ... No Debug Log: .... No Debug Display: Yes Script Debug: No PHP Error Log: error_log WP Max Upload Size: 8 MB PHP Post Max Size: 8 MB WPMDB Bottleneck: ...... 8 MB Compatibility Mode: .... Yes Delay Between Requests: 0 WP_HOME: ....... Not defined WP_SITEURL: .... Not defined

---> I remove this variables for secure: WP_CONTENT_URL:
WP_CONTENT_DIR: WP_PLUGIN_DIR:
WP_PLUGIN_URL:
Active Theme Name: Futurio Active Theme Folder:

Active Plugins

Must-Use Plugins

AhmedTheGeek commented 3 years ago

@evandrolamaral Can you give us more information about what browser are you using, and what version is it?

evandrolamaral commented 3 years ago

Hi,

I'm using Safari 13.05 on my Macbook, MacOS 10.15.03, but now I'm run in Chrome and works great...

AhmedTheGeek commented 3 years ago

@evandrolamaral Looks like ResizeObserver support was added to Safari since 13.4, so 13.05 wouldn't have had it yet.

We can show an appropriate message for unsupported browsers to avoid such vague errors, I'll add an issue for that.

Thanks for reporting the error.

evandrolamaral commented 3 years ago

OK, thanks Ahmed!

kevinwhoffman commented 3 years ago

ResizeObserver should now be supported in Safari, so I'm going to close this out. Thanks!