Invariant Violation
-
I get the following error when opening the Products page on my WooCommerce server:
Uncaught Error: Invariant Violation: AdminBarNav.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object. at r (main.min.js?ver=5.4:5) at p._renderValidatedComponent (main.min.js?ver=5.4:2) at p.ReactCompositeComponent__renderValidatedComponent [as _renderValidatedComponent] (main.min.js?ver=5.4:4) at p._updateRenderedComponent (main.min.js?ver=5.4:2) at p._performComponentUpdate (main.min.js?ver=5.4:2) at p.updateComponent (main.min.js?ver=5.4:2) at p.ReactCompositeComponent_updateComponent [as updateComponent] (main.min.js?ver=5.4:4) at performUpdateIfNecessary (main.min.js?ver=5.4:2) at Object.performUpdateIfNecessary (main.min.js?ver=5.4:4) at s (main.min.js?ver=5.4:4)
When I deactivate the WP Log Viewer the error message is gone.
- The topic ‘Invariant Violation’ is closed to new replies.