• Resolved donbowman

    (@donbowman)


    Installed ultimate faqs.
    Created 1 category with no parent, created 1 category with that prev as parent. created 1 FAQ in each.
    Created a new blank page, insert ‘Display FAQs’ block. This immediately shows “This block has encountered an error and cannot be previewed.”

    In the console, this is shown.

    react-dom.min.js?ver=18:1 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Dl (react-dom.min.js?ver=18:1:96116)
    at p (react-dom.min.js?ver=18:1:42694)
    at g (react-dom.min.js?ver=18:1:44057)
    at e (react-dom.min.js?ver=18:1:46121)
    at fr (react-dom.min.js?ver=18:1:54770)
    at $s (react-dom.min.js?ver=18:1:121108)
    at wl (react-dom.min.js?ver=18:1:88644)
    at bl (react-dom.min.js?ver=18:1:88572)
    at yl (react-dom.min.js?ver=18:1:88435)
    at il (react-dom.min.js?ver=18:1:85259)

    wp 6.1
    neve theme
    uagb (spectra) plugin
    aioseo plugin
    searchwp
    chrome 110

    are the notable setup.

    Unknown if related, when using the ‘FAQ tags’ or ‘categories’, I get 403 errors

    http://localhost/wp-json/wp/v2/ufaq-category?context=view&post=2011717&per_page=100&_locale=user
    "rest_forbidden_context","message":"Sorry, you are not allowed to view terms for this post.","data":{"status":403}}

    • This topic was modified 2 years, 1 month ago by donbowman.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter donbowman

    (@donbowman)

    note: i wasn’t clear above, the 403 is intermittent, and, the block works (e.g. an unsigned-in user can see the FAQ and expand them, even though the edit view shows the block has encountered error).

    Plugin Support jaysupport

    (@jaysupport)

    Hi don,

    Unfortunately, we were unable to replicate this issue on our end. We started by creating a new local WordPress environment with the following specifications:
    PHP 7.4
    WordPress 6.1.1
    Plugin: Ultimate FAQ – WordPress FAQ and Accordion Plugin, Version 2.2.4
    Theme: Twenty Twenty-Three, Version 1.0

    From there, we created a new FAQ Category A, and then another FAQ Category B with its parent FAQ Category set to Category A. Next, we created an FAQ for each category.

    Lastly, we added the Display FAQs block to our WordPress page, and did not see the error you’re reporting.

    To clarify, the console log does not have anything to do with our plugin, since we don’t use React.

    Sometimes a conflict with another plugin can cause such problems. As a test, could you disable all your plugins, but ours, and see if that makes a difference? From there, you would need to activate your plugins one by one until the issue reoccurs. You could also try with a default WordPress theme to see if that makes any difference/gives any clues.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display FAQ insert causes ‘This block has encountered an error’’ is closed to new replies.