I am trying to:
Continue Use Views to show RFG - worked just fine until today when updated
Link to a page where the issue can be seen:
Anywhere a view lists RFG
I expected to see:
Working View
Instead, I got:
Broken View (if already existing), not able to create new view (no results, cannot set RFG filters, freezes page, JS errors)
1. Try to add a View in this CT here hidden link on the package (fresh) here:
hidden link
Keep the console open.
- Warning: React does not recognize the `isLarge` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `islarge` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
- Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See hidden link for details.
2. Then try to add a view for the RFG, and see the third error appear:
- Warning: React does not recognize the `popoverProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `popoverprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
3. Now try to add a Custom Field in the view for the RFG (DATE), I already provided it, it will pile up to 5 errors:
- Uncaught (in promise) TypeError: Cannot read property 'categories' of null
- Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of t which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
- Warning: Legacy context API has been detected within a strict-mode tree:
And so on.
Now, on existing sites this makes the views not render their preview, and it shows "this view returns no results", even before it did, and you can't successfully edit them anymore.
On fresh sites, you can edit, but the errors are still piling and sooner or later, things freeze.
Please use the duplicate of fresh site to see.
All plugins of toolset are fresh downloads from the toolset download area.
This is closely connected to other update issues reported to luo, but additional to those.
Additional these PHP errors happen:
( ! ) Notice: Undefined index: #options in /Applications/MAMP/htdocs/cleanup/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/enlimbo.forms.class.php on line 708
( ! ) Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/cleanup/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/lib/enlimbo.forms.class.php on line 708