|  | @@ 780-786 (lines=7) @@ | 
                                                            
                                    | 777 |  | 		if ( array_key_exists( $this->_req_action, $this->_page_routes )) { | 
                                                            
                                    | 778 |  | 			$this->_route = $this->_page_routes[ $this->_req_action ]; | 
                                                            
                                    | 779 |  | 			$this->_route_config = isset($this->_page_config[$this->_req_action]) ? $this->_page_config[$this->_req_action] : array(); | 
                                                            
                                    | 780 |  | 		} else { | 
                                                            
                                    | 781 |  | 			// user error msg | 
                                                            
                                    | 782 |  | 			$error_msg =  sprintf( __( 'The requested page route does not exist for the %s admin page.', 'event_espresso' ), $this->_admin_page_title ); | 
                                                            
                                    | 783 |  | 			// developer error msg | 
                                                            
                                    | 784 |  | 			$error_msg .=  '||' . $error_msg . sprintf( __( ' Create a key in the "_page_routes" array named "%s" and set its value to the appropriate method.', 'event_espresso' ), $this->_req_action ); | 
                                                            
                                    | 785 |  | 			throw new EE_Error( $error_msg ); | 
                                                            
                                    | 786 |  | 		} | 
                                                            
                                    | 787 |  |  | 
                                                            
                                    | 788 |  | 		// and that a default route exists | 
                                                            
                                    | 789 |  | 		if ( ! array_key_exists( 'default', $this->_page_routes )) { | 
                                                                                
                                |  | @@ 823-829 (lines=7) @@ | 
                                                            
                                    | 820 |  | 	protected function _verify_route( $route ) { | 
                                                            
                                    | 821 |  | 		if ( array_key_exists( $this->_req_action, $this->_page_routes )) { | 
                                                            
                                    | 822 |  | 			return true; | 
                                                            
                                    | 823 |  | 		} else { | 
                                                            
                                    | 824 |  | 			// user error msg | 
                                                            
                                    | 825 |  | 			$error_msg =  sprintf( __( 'The given page route does not exist for the %s admin page.', 'event_espresso' ), $this->_admin_page_title ); | 
                                                            
                                    | 826 |  | 			// developer error msg | 
                                                            
                                    | 827 |  | 			$error_msg .=  '||' . $error_msg . sprintf( __( ' Check the route you are using in your method (%s) and make sure it matches a route set in your "_page_routes" array property', 'event_espresso' ), $route ); | 
                                                            
                                    | 828 |  | 			throw new EE_Error( $error_msg ); | 
                                                            
                                    | 829 |  | 		} | 
                                                            
                                    | 830 |  | 	} | 
                                                            
                                    | 831 |  |  | 
                                                            
                                    | 832 |  |  |