Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Cannot read properties of undefined (reading 'forEach') #35

Open
MolotovCherry opened this issue Feb 21, 2023 · 3 comments
Open

Cannot read properties of undefined (reading 'forEach') #35

MolotovCherry opened this issue Feb 21, 2023 · 3 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@MolotovCherry
Copy link

MolotovCherry commented Feb 21, 2023

Describe the bug
Clicking "detect from image" or "add background image" throws error in console.

To Reproduce
Click one of the buttons

Expected behavior
No errors

Additional context

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
    at st (index.4395ab38.js:76:2728)

Below, data is undefiend

function st(xt) {
    xt.data.forEach((dt,Gt)=>{
        if (typeof dt == "object" && dt !== null && dt.__type__ === "update") {
            for (const [zt,Lt] of Object.entries(dt))
                zt !== "__type__" && n(11, L[jt[Gt]].props[zt] = Lt, L);
            n(9, m)
        } else
            n(11, L[jt[Gt]].props.value = dt, L)
    }
    )
}
@MolotovCherry MolotovCherry added the bug Something isn't working label Feb 21, 2023
@Gargantuanman
Copy link

after today update still same :c

@fkunn1326
Copy link
Owner

I've done a bit of research and it seems that this is a problem on the gradio side as per AlUlkesh/stable-diffusion-webui-images-browser#28
So I'll wait for the gradio fix.

@fkunn1326 fkunn1326 added the wontfix This will not be worked on label Feb 23, 2023
@aleimu
Copy link

aleimu commented Feb 24, 2023

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants