Fatal error: Uncaught Error: str_replace(): Argument #3 ($subject) must be of type array|string, WP_Error given
in /home2/spring1/public_html/wp-includes/pluggable.php on line 1455

Call stack:

  1. str_replace()
    wp-includes/pluggable.php:1455
  2. wp_sanitize_redirect()
    wp-includes/pluggable.php:1531
  3. wp_safe_redirect()
    wp-content/plugins/events-manager/classes/em-permalinks.php:80
  4. EM_Permalinks::redirection()
    wp-includes/class-wp-hook.php:324
  5. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  6. WP_Hook::do_action()
    wp-includes/plugin.php:565
  7. do_action_ref_array()
    wp-includes/class-wp-query.php:1140
  8. WP_Query::parse_query()
    wp-includes/class-wp-query.php:1868
  9. WP_Query::get_posts()
    wp-includes/class-wp-query.php:3824
  10. WP_Query::query()
    wp-includes/class-wp.php:696
  11. WP::query_posts()
    wp-includes/class-wp.php:816
  12. WP::main()
    wp-includes/functions.php:1336
  13. wp()
    wp-blog-header.php:16
  14. require()
    index.php:17

Query Monitor


Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, WP_Error given in /home2/spring1/public_html/wp-includes/pluggable.php:1455 Stack trace: #0 /home2/spring1/public_html/wp-includes/pluggable.php(1455): str_replace(' ', '%20', Object(WP_Error)) #1 /home2/spring1/public_html/wp-includes/pluggable.php(1531): wp_sanitize_redirect(Object(WP_Error)) #2 /home2/spring1/public_html/wp-content/plugins/events-manager/classes/em-permalinks.php(80): wp_safe_redirect(Object(WP_Error), 301) #3 /home2/spring1/public_html/wp-includes/class-wp-hook.php(324): EM_Permalinks::redirection(Object(WP_Query)) #4 /home2/spring1/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /home2/spring1/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #6 /home2/spring1/public_html/wp-includes/class-wp-query.php(1140): do_action_ref_array('parse_query', Array) #7 /home2/spring1/public_html/wp-includes/class-wp-query.php(1868): WP_Query->parse_query() #8 /home2/spring1/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #9 /home2/spring1/public_html/wp-includes/class-wp.php(696): WP_Query->query(Array) #10 /home2/spring1/public_html/wp-includes/class-wp.php(816): WP->query_posts() #11 /home2/spring1/public_html/wp-includes/functions.php(1336): WP->main('') #12 /home2/spring1/public_html/wp-blog-header.php(16): wp() #13 /home2/spring1/public_html/index.php(17): require('/home2/spring1/...') #14 {main} thrown in /home2/spring1/public_html/wp-includes/pluggable.php on line 1455