• Hello,

    WCFM specific widgets getting broken periodically, once I delete them, save and insert, activate again they start to work, but they break again after some days.

    You can see the widgets errors in screenshot bellow

    https://prnt.sc/8v_pwpDwm5nd

    {
    "code": "rest_no_route",
    "message": "No route was found matching the URL and request method.",
    "data": {
    "status": 404
    }
    }

    Here is the message from console in Admin panel.

    
    code
    : 
    "rest_invalid_widget"
    data
    : 
    {status: 400}
    message
    : 
    "The provided instance is malformed."

    Here is the console error in frontend.

    Please let me know what you think about this issue.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • javeedemvigo

    (@javeedemvigo)

    Me too have this same issue. But not specific tp WCFM. But for other widgets as well. I noticed this when some of the widgets were not showing in the website. Then checked the widgets area in the dashboard and found a warning like this:

    “The “bbp_replies_widget” block was affected by errors and may not function properly. Check the developer tools for more details.”

    Then i checked the browser console and found this error:

    1. {code: “rest_invalid_widget”, message: “The provided instance is malformed.”, data: {status: 400}}
      1. code: “rest_invalid_widget”
      2. data: {status: 400}
      3. message: “The provided instance is malformed.

    Can some one look into this?

    Thread Starter vahan80

    (@vahan80)

    @javeedemvigo This problem was fixed for me after removing WordPress salt shaker plugin. The reason might be that WordPress might use salt to encrypt some data for widgets then the salt shaker is refreshing the salt periodical it is not able to decrypt data with new salt.

    I did not debug it and these are assumptions.

    You might check if you have any plugin which changes WordPress salt in config php.

    After recreating the same widgets in the widget area I did not met this issue again. let me know if you find any other approach.

    Thank you!

    javeedemvigo

    (@javeedemvigo)

    Thank you for your reply. I will check for plugins that changes WordPress salt as you suggested.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WCFM widgets getting broken periodically.’ is closed to new replies.