owncast icon indicating copy to clipboard operation
owncast copied to clipboard

Admin throwing fatal error

Open gabek opened this issue 8 months ago • 5 comments

Share your bug report, feature request, or comment.

When accessing the admin, it's now throwing a fatal error. It's not actually experiencing a connectivity error, but some other error looks to be bubbling up and the web app is interpreting it as a connectivity issue.

image

The only error (though it's technically only a warning) is the following defaultProps warning, and I'm not sure if it's connected.

 ✓ Compiled /admin in 9.2s (3659 modules)
Warning: TextFieldWithSubmit: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at TextFieldWithSubmit (webpack-internal:///./components/admin/TextFieldWithSubmit.tsx:30:32)
    at div
    at header
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:63:27)
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:47:72)
    at section
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:77:65)
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:47:72)
    at section
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:77:65)
    at eval (webpack-internal:///./node_modules/antd/es/layout/layout.js:47:72)
    at MainLayout (webpack-internal:///./components/admin/MainLayout.tsx:137:23)
    at AlertMessageProvider (webpack-internal:///./utils/alert-message-context.tsx:16:33)
    at ServerStatusProvider (webpack-internal:///./utils/server-status-context.tsx:125:33)
    at AdminLayout (webpack-internal:///./components/layouts/AdminLayout.tsx:14:24)
    at App (webpack-internal:///./pages/_app.tsx:30:16)
    at StyleRegistry (/home/gabek/src/owncast2/web/node_modules/styled-jsx/dist/index/index.js:449:36)
    at eU (/home/gabek/src/owncast2/web/node_modules/next/dist/compiled/next-server/pages.runtime.dev.js:8:20468)
    at eH (/home/gabek/src/owncast2/web/node_modules/next/dist/compiled/next-server/pages.runtime.dev.js:17:1765)
    at eJ (/home/gabek/src/owncast2/web/node_modules/next/dist/compiled/next-server/pages.runtime.dev.js:17:3068)
    at div
    at e9 (/home/gabek/src/owncast2/web/node_modules/next/dist/compiled/next-server/pages.runtime.dev.js:26:761)

gabek avatar Jun 09 '24 18:06 gabek