The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
Description
So, I am trying to repair the pods on my site programmatically.
Every time I repair the pods it through me exception saying
{"message":"Field bg_overlay_125511 already exists, you cannot rename bg_overlay to that on the get_started_steps pod"}
Here is the code I am using
function repair_each_pod() { $api = pods_api(); $tool = pods_container( \Pods\Tools\Repair::class ); $results = [];
}
the above function failed to repair some pods
the repair functionality work fine, when I edit the damaged pods from pods admin, but the same is not working as programmatically
I having multi site setup, so cannot go and edit each pod in every site
Please help
Version
2.9.19
Testing Instructions
No response
Screenshots / Screencast
Possible Workaround
No response
Site Health Information
Pods Package