• Resolved Cheryl

    (@tricheryltops)


    Hi,
    I was looking in my WooCommerce logs for something else, but noted a LOT of “fatal error” entries in pluggable.php with EM noted like this (with the bits removed that hae my db name, etc):

    2022-11-19T17:33:11+00:00 CRITICAL Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, WP_Error given in ../public_html/wp-includes/pluggable.php:1436
    Stack trace:
    #0 public_html/wp-includes/pluggable.php(1436): str_replace()
    #1 public_html/wp-includes/pluggable.php(1512): wp_sanitize_redirect()
    #2 public_html/wp-content/plugins/events-manager/classes/em-permalinks.php(80): wp_safe_redirect()
    #3 public_html/wp-includes/class-wp-hook.php(308): EM_Permalinks::redirection()
    #4 public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #5 /public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #6 /public_html/wp-includes/class-wp-query.php(1127): do_action_ref_array()
    #7 /wp-includes/class-wp-query.php(1820): WP_Query->parse_query()
    #8 /public_html/wp-includes/class-wp-query.php(3749): WP_Query->get_posts()
    #9 /public_html/wp-includes/class-wp.php(663): WP_Query->query()
    #10 /public_html/wp-includes/class-wp.php(783): WP->query_posts()
    #11 /public_html/wp-includes/functions.php(1332): WP->main()
    #12 /public_html/wp-blog-header.php(16): wp()
    #13 /public_html/index.php(17): require('/home/651305.cl...')
    #14 {main}
      thrown in /public_html/wp-includes/pluggable.php on line 1436

    I can view events…so not sure if this is causing any issues. I came across it when I was trying to track down the source of some db connection errors that seem to frequently pop up recently on my site. Any conern about this?
    Thanks

The topic ‘fatal error in log’ is closed to new replies.