moon0326 / wp-openapi

19 stars 5 forks source link

Uncaught TypeError: c.a is undefined and empty admin page #41

Closed drewbaker closed 1 month ago

drewbaker commented 2 months ago

Installed the plugin (Version 1.0.12) on WordPress 6.6.2. Got this error in my browser console:

Uncaught TypeError: c.a is undefined
    <anonymous> https://not-telling.com/wp-content/plugins/wp-openapi/build/resources/scripts/app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1
    n https://not-telling.com/wp-content/plugins/wp-openapi/build/resources/scripts/app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1
    <anonymous> https://not-telling.com/wp-content/plugins/wp-openapi/build/resources/scripts/app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1
    <anonymous> https://not-telling.com/wp-content/plugins/wp-openapi/build/resources/scripts/app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1
app.js:1:1909223

Using Firefox.

In Chrome it says:

app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1 Uncaught TypeError: Cannot read properties of undefined (reading 'mark')
    at Module.<anonymous> (app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1:1909227)
    at n (app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1:110)
    at app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1:902
    at app.js?ver=822a94ad9fbac7b8e86be5dd14c15446:1:913
moon0326 commented 1 month ago

Thank you @drewbaker for the report. I was able to reproduce it with WP 6.6.2. I'll work on a fix very soon.

moon0326 commented 1 month ago

@drewbaker 1.0.13 has been released to fix the issue.

Thank you for the report again.

I'm closing it now, but feel free to re-open it as needed.