|
@@ 2751-2753 (lines=3) @@
|
| 2748 |
|
$field_with_model_name = $field; |
| 2749 |
|
} |
| 2750 |
|
} |
| 2751 |
|
if (! isset($field_with_model_name) || ! $field_with_model_name) { |
| 2752 |
|
throw new EE_Error(sprintf( |
| 2753 |
|
__("There is no EE_Any_Foreign_Model_Name field on model %s", "event_espresso"), |
| 2754 |
|
$this->get_this_model_name() |
| 2755 |
|
)); |
| 2756 |
|
} |
|
@@ 5101-5103 (lines=3) @@
|
| 5098 |
|
} |
| 5099 |
|
} |
| 5100 |
|
$classInstance = $this->instantiate_class_from_array_or_object($row); |
| 5101 |
|
if (! $classInstance) { |
| 5102 |
|
throw new EE_Error( |
| 5103 |
|
sprintf( |
| 5104 |
|
__('Could not create instance of class %s from row %s', 'event_espresso'), |
| 5105 |
|
$this->get_this_model_name(), |
| 5106 |
|
http_build_query($row) |