core/libraries/messages/EE_message_type.lib.php 1 location
|
@@ 662-663 (lines=2) @@
|
| 659 |
|
// each context defined to handle the processing of the data object within them |
| 660 |
|
foreach ($this->_contexts as $context => $details) { |
| 661 |
|
$xpctd_method = '_' . $context . '_addressees'; |
| 662 |
|
if (! method_exists($this, $xpctd_method)) { |
| 663 |
|
throw new EE_Error( |
| 664 |
|
sprintf( |
| 665 |
|
__( |
| 666 |
|
'The data for %1$s message type cannot be prepared because there is no set method for doing so. The expected method name is "%2$s" please doublecheck the %1$s message type class and make sure that method is present', |
core/db_models/EEM_Base.model.php 1 location
|
@@ 2296-2298 (lines=3) @@
|
| 2293 |
|
} |
| 2294 |
|
/** @type WPDB $wpdb */ |
| 2295 |
|
global $wpdb; |
| 2296 |
|
if (! method_exists($wpdb, $wpdb_method)) { |
| 2297 |
|
throw new EE_Error(sprintf(__( |
| 2298 |
|
'There is no method named "%s" on Wordpress\' $wpdb object', |
| 2299 |
|
'event_espresso' |
| 2300 |
|
), $wpdb_method)); |
| 2301 |
|
} |