Geocoder
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Objective HTML
Undefined index: entry_id
General
FCGRX
|
Posted: 11 November 2013 03:39 AM |
|
|
|
I’m seeing this error often, when adding entries to a channel that IS NOT associated with the Geocoder addon.
A PHP Error was encountered Severity: Notice Message: Undefined index: entry_id Filename: gmap_geocoder/ext.gmap_geocoder.php Line Number: 188
Usually this happens when the entry is being added outside the CP, for example via Moblog module.
Any idea?
|
|
|
Objective HTML
|
Posted: 13 November 2013 04:43 PM |
# 1
|
|
Developer
|
I have added a provision in the code to prevent this error. Send me an email to support[at]objectivehtml.com and I will send you the latest code to test. I have not seen this error directly so I didn’t know to add this provision. Basically, if the entry_id is not set, Geocoder will be ignored.
|
|
|
FCGRX
|
Posted: 14 November 2013 03:53 PM |
# 2
|
|
|
It appears that youve fixed that bug. My only concern would be whether it’s possible to use the Moblog channel to create new entries in a channel that DOES make use of Geocoder? Regardless you’ve fixed a bug here.
|
|
|
Objective HTML
|
Posted: 15 November 2013 11:47 AM |
# 3
|
|
Developer
|
I have no idea, as I have never tested directly. If Moblog uses the channel entries API as normal, you should be able to.
|
|
|