@@ 601-609 (lines=9) @@ | ||
598 | ) { |
|
599 | // set the start time for this reg step |
|
600 | if ( ! $this->transaction->set_reg_step_initiated( $reg_step->slug() ) ) { |
|
601 | if ( WP_DEBUG ) { |
|
602 | EE_Error::add_error( |
|
603 | sprintf( |
|
604 | __( 'The "%1$s" registration step was not initialized properly.', 'event_espresso' ), |
|
605 | $reg_step->name() |
|
606 | ), |
|
607 | __FILE__, __FUNCTION__, __LINE__ |
|
608 | ); |
|
609 | } |
|
610 | } |
|
611 | } |
|
612 | } |
@@ 864-873 (lines=10) @@ | ||
861 | $current_data_migration_script->set_migrating(false); |
|
862 | $current_data_migration_script->schema_changes_before_migration(); |
|
863 | $current_data_migration_script->schema_changes_after_migration(); |
|
864 | if ($current_data_migration_script->get_errors()) { |
|
865 | if (WP_DEBUG) { |
|
866 | foreach ($current_data_migration_script->get_errors() as $error) { |
|
867 | EE_Error::add_error($error, __FILE__, __FUNCTION__, __LINE__); |
|
868 | } |
|
869 | } else { |
|
870 | EE_Error::add_error( |
|
871 | __( |
|
872 | 'There were errors creating the Event Espresso database tables and Event Espresso has been |
|
873 | deactivated. To view the errors, please enable WP_DEBUG in your wp-config.php file.', |
|
874 | 'event_espresso' |
|
875 | ) |
|
876 | ); |