-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Feedme to populate data in simplemap throws error #338
Comments
Does changing to: 'referer' => Craft::getAlias('@web') work for both feed-me operations and the front end or do you need to make the change just for doing the feed-me and then revert to have the front end working correctly ? |
It works on both frontend and feed me (queues). |
I would do something like this:
|
Thank you for the speedy reply! |
@tombo118 Just changed above code a bit to be more accurate. Do we have any updates or ETA on when it can get sorted? |
@mufi-siebird I opened a PR for this issue if you could +1 it for me I'd appreciate it. |
Description
I am using Feedme plugin to automatically pull data to entry through atlas API. I have address ready. It throws error when map try to generate lat/lng. error is:
Please configure UrlManager::hostInfo correctly as you are running a console application. - UrlManager.php: 648
I debug the error and found that I am on console application when queue is running from feedme. that makes this code invalid.
(ether/simplemap/src/services/GeoService.php) Line Number: 774.
Error from queue is, it needs instance of
\yii\web\Request
and it gets instance of\craft\console\Request
.Steps to reproduce
Solution
it works If I change this portion:
to this:
Additional info
The text was updated successfully, but these errors were encountered: