• Resolved Robert4Web

    (@robert4web)


    Hello!

    On my WP 5.8.2 website I found this error. When I deactivated Wordfence, error dissapeared.

    TypeError: a.media is not a function
        at new m (https://www.domain.com/wp-includes/js/dist/media-utils.min.js?ver=8e557d69e3ef2356d081c60830d157a1:2:3772)
        at Yg (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:68:243)
        at rh (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:98:274)
        at zj (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228:490)
        at Th (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
        at tj (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
        at Te (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
        at https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68
        at unstable_runWithPriority (https://www.domain.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
        at Da (https://www.domain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)

    How to resolve this error? Thanks.

    Best regards,

    R.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @robert4web,

    As the exact error message doesn’t seem to reference Wordfence plugin components directly, I suspect this might be a plugin/theme conflict so disabling Wordfence resolves this but is not necessarily the cause.

    Try disabling all plugins except for Wordfence and reverting to a default theme such as Twenty Twenty-One. Does the error still display when Wordfence is the only plugin enabled? If not, you may be able to re-enable your plugins and theme one-by-one until you find where the problem originates.

    You can install a maintenance mode plugin during this time if site visitors are likely to be affected. Browser extensions can also sometimes interfere with these pages so disabling those at the same time, or using a different browser to your default may be an idea during this period of testing too!

    Let me know what you find out.

    Thanks,

    Peter.

    Thread Starter Robert4Web

    (@robert4web)

    Hello wfpeter!

    Thanks for your answer and help. Nevermind! It was a browser problem (Vivaldi). When I go to other browser (Chrome, Firefox) was all fine. I resolved this in Vivaldi with deleting all history, all caching and all cookies.

    Best regards,

    Robert

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

The topic ‘TypeError: a.media is not a function’ is closed to new replies.