bia-pain-bache / BPB-Worker-Panel

A GUI Panel providing Worker subscriptions and Fragment settings and Warp configs, providing configs for cross-platform clients using (singbox-core and xray-core)
GNU General Public License v3.0
2.07k stars 10.92k forks source link

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

Closed influence312 closed 2 days ago

influence312 commented 2 days ago

After I updated the subsription, all of them disappeared and displayed like this: image the yaml file:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error Page</title>
    <style>
        body,
        html {
            height: 100%;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: system-ui;
        }
        h1 { font-size: 2.5rem; text-align: center; color: #09639f; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25); }
        #error-container { text-align: center; }
    </style>
</head>

<body>
    <div id="error-container">
        <h1>BPB Panel <span style="font-size: smaller;">2.4.3</span> 💦</h1>
        <div id="error-message">
            <h2>Something went wrong! 
            </h2>
            <p><b>⚠️ Cannot read properties of undefined (reading 'forEach')</b></p>
        </div>
    </div>
</body>

</html>
influence312 commented 2 days ago

just apply the setting will fix the issue