core/helpers/EEH_Activation.helper.php 1 location
|
@@ 482-485 (lines=4) @@
|
| 479 |
|
) { |
| 480 |
|
//update Config with post ID |
| 481 |
|
$EE_Core_Config->{$critical_page['id']} = $critical_page['post']->ID; |
| 482 |
|
if (! EE_Config::instance()->update_espresso_config(false, false)) { |
| 483 |
|
$msg = __( |
| 484 |
|
'The Event Espresso critical page configuration settings could not be updated.', |
| 485 |
|
'event_espresso' |
| 486 |
|
); |
| 487 |
|
EE_Error::add_error($msg, __FILE__, __FUNCTION__, __LINE__); |
| 488 |
|
} |
core/db_classes/EE_Import.class.php 1 location
|
@@ 470-476 (lines=7) @@
|
| 467 |
|
{ |
| 468 |
|
foreach ($csv_data_array as $model_name_in_csv_data => $model_data_from_import) { |
| 469 |
|
// now check that assumption was correct. If |
| 470 |
|
if (EE_Registry::instance()->is_model_name($model_name_in_csv_data)) { |
| 471 |
|
$model_name = $model_name_in_csv_data; |
| 472 |
|
} else { |
| 473 |
|
// no table info in the array and no table name passed to the function?? FAIL |
| 474 |
|
EE_Error::add_error( |
| 475 |
|
__( |
| 476 |
|
'No table information was specified and/or found, therefore the import could not be completed', |
| 477 |
|
'event_espresso' |
| 478 |
|
), |
| 479 |
|
__FILE__, |
modules/single_page_checkout/inc/EE_Checkout.class.php 1 location
|
@@ 1216-1221 (lines=6) @@
|
| 1213 |
|
$this->cart->get_grand_total() |
| 1214 |
|
); |
| 1215 |
|
} |
| 1216 |
|
if ($grand_total instanceof EE_Line_Item) { |
| 1217 |
|
$this->cart = EE_Cart::instance($grand_total); |
| 1218 |
|
} else { |
| 1219 |
|
EE_Error::add_error( |
| 1220 |
|
__( |
| 1221 |
|
'A valid Cart was not found when attempting to update the model entity mapper.', |
| 1222 |
|
'event_espresso' |
| 1223 |
|
), |
| 1224 |
|
__FILE__, |