• Hi,

    after the upgrade to version 1.9.4 its not possible to manage the passwords for posts/pages. The overlay is shown with “Loading data” and the closes immediately

    Within the Network Tools i can see that the ajax calls (/wp-json/wppp/v1/get-all-password/[id] and /wp-json/wppp/v1/file-is-protect/[id]) are okay (Status 200) and passwords are returned within json format for the get-all-password call.

    But within the Console i can see the following JS Errors:

    react-dom.production.min.js:187 TypeError: Cannot read properties of null (reading 'toString')
    at render (index.js:582:84)
    at t.value (TableCell.js:72:1)
    at ya (react-dom.production.min.js:173:129)
    at ma (react-dom.production.min.js:172:275)
    at Gl (react-dom.production.min.js:247:291)
    at Fl (react-dom.production.min.js:216:158)
    at Hl (react-dom.production.min.js:210:468)
    at Rl (react-dom.production.min.js:206:363)
    at react-dom.production.min.js:114:110
    at t.unstable_runWithPriority (scheduler.production.min.js:20:127)
    index.js:582 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
    at render (index.js:582:84)
    at t.value (TableCell.js:72:1)
    at ya (react-dom.production.min.js:173:129)
    at ma (react-dom.production.min.js:172:275)
    at Gl (react-dom.production.min.js:247:291)
    at Fl (react-dom.production.min.js:216:158)
    at Hl (react-dom.production.min.js:210:468)
    at Rl (react-dom.production.min.js:206:363)
    at react-dom.production.min.js:114:110
    at t.unstable_runWithPriority (scheduler.production.min.js:20:127)

    So its not possible to manage the passwords.

    Can you please check this?Thank you!

    Best,

    Andi

Viewing 1 replies (of 1 total)
  • Plugin Author BWPS Team

    (@buildwps)

    Hi @anwu ,

    Thank you for reaching out to us.

    Unfortunately, we tried to reproduce the issue on our staging site but can’t.

    The error message you’re encountering, TypeError: Cannot read properties of null (reading 'toString'), indicates that somewhere in your React application, you are trying to call the toString() method on a null value. This is a common issue when rendering UI elements that depend on data that might not be properly initialized or validated.

    The stack trace shows that the error originates from index.js:582 and TableCell.js:72. You need to check the code at these lines to see where the null value is being accessed, so we can identify the issue and fix it.

    Could you help delete the current PPWP Lite, then download the PPWP Lite from this?Google Drive Link, re-install it, and check if it resolves the issue, please?

    If it still doesn’t work, you can contact us via our PPWP Contact Form to get the older version of PPWP Lite.

    Awaiting your reply.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.