Extension, Module

Archived
Forum
(read-only)

Geocoder

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Objective HTML

     

Not compatible with submit_new_entry(), cannot import entries

General

FCGRX
FCGRX

Geocoder is throwing an error when I attempt to use the EE API to import channel entries.

Sample code:

$this_object->EE->api_channel_fields->setup_entry_settings($channel_id$data);
 if (
$this_object->EE->api_channel_entries->submit_new_entry($channel_id$data) === FALSE)
     return 
false

It appears that Geocoder is attempting to pull data values using this:

$this->EE->input->get_post 

So I’m guessing it requires that data is entered manually into the CP?

Objective HTML
# 1
Developer
Objective HTML

Can you take a screenshot of the error?