@@ 311-313 (lines=3) @@ | ||
308 | ) |
|
309 | ); |
|
310 | } |
|
311 | if (! isset($setup_args['main_file_path']) || empty($setup_args['main_file_path'])) { |
|
312 | throw new EE_Error( |
|
313 | sprintf( |
|
314 | __( |
|
315 | 'When registering an addon, you didn\'t provide the "main_file_path", which is the full path to the main file loaded directly by Wordpress. You only provided %s', |
|
316 | 'event_espresso' |
@@ 3301-3303 (lines=3) @@ | ||
3298 | //then $possible_array_of_params looks something like array('<','DTT_sold',true) |
|
3299 | //indicating that $possible_array_of_params[1] is actually a field name, |
|
3300 | //from which we should extract query parameters! |
|
3301 | if (! isset($possibly_array_of_params[0], $possibly_array_of_params[1])) { |
|
3302 | throw new EE_Error(sprintf(__("Improperly formed query parameter %s. It should be numerically indexed like array('<','DTT_sold',true); but you provided %s", |
|
3303 | "event_espresso"), $query_param_type, implode(",", $possibly_array_of_params))); |
|
3304 | } |
|
3305 | $this->_extract_related_model_info_from_query_param($possibly_array_of_params[1], |
|
3306 | $model_query_info_carrier, $query_param_type); |