Closed lmaucoin closed 4 years ago
Thanks for letting me know! You'd want the geolocation function to run during the migration right?
Hi @janhenckens, thanks for the quick feedback! My specific case involves adding new values to attributes to existing elements while preserving existing values for other attributes (such as the values stored by Easy Address Field) on those elements. I could imagine newly-created address values or newly-created elements would need it!
Gotcha! I’ll have a fix out shortly 🙂
Hi! Maybe this is an unconventional approach to populating content, but I have been running a few migrations to update a ton of content between installations of my main site.
Any time I attempt to save an element, I get the following error related to a non-existent function on
craft\console\Request
:In the most recent version of the plugin, it's in this line:
if (Craft::$app->request->getIsPost() && $value) {
I've been able to run my migrations by changing this line to just
if ($value) { ... }
but I wanted it to be brought to your attention. Take care!