• Hi there,

    We’ve had the below error come up a couple of times when deleting orphaned comments from a WP website. The comments were old WooCommerce order notes that ended up in the WP Comments after WooCommerce was deleted but I’m not sure if the error is because of that or due to something unrelated. The error popped up when we bulk-moved several comments into trash, and then again when we clicked the EMPTY TRASH button as well.

    Uncaught Error: parse_url(): Argument #1 ($url) must be of type string, bool given
    in /home/customer/www/[siteurlredacted].com/public_html/wp-content/plugins/query-monitor/collectors/http.php on line 370

    Call stack:

    parse_url(false, 1)
    wp-content/plugins/query-monitor/collectors/http.php:370
    QM_Collector_HTTP::process()
    wp-content/plugins/query-monitor/classes/Collectors.php:84
    QM_Collectors::process()
    wp-content/plugins/query-monitor/classes/Dispatcher.php:123
    QM_Dispatcher::get_outputters('headers')
    wp-content/plugins/query-monitor/dispatchers/Redirect.php:39
    QM_Dispatcher_Redirect::filter_wp_redirect('/wp-admin/edit-comme...h&paged=1&deleted=24', 302)
    wp-includes/class-wp-hook.php:341
    WP_Hook::apply_filters('/wp-admin/edit-comme...h&paged=1&deleted=24', array)
    wp-includes/plugin.php:205
    apply_filters('wp_redirect', '/wp-admin/edit-comme...h&paged=1&deleted=24', 302)
    wp-includes/pluggable.php:1492
    wp_redirect('/wp-admin/edit-comme...h&paged=1&deleted=24', 302, 'WordPress')
    wp-includes/pluggable.php:1641
    wp_safe_redirect('/wp-admin/edit-comme...h&paged=1&deleted=24')
    wp-admin/edit-comments.php:150

    It didn’t seem to cause any errors visible to non-admin users and on page refresh the error disappeared and the action (trash or empty trash) was successfully completed.

    Below is the site health info for reference:

    `
    ### wp-core ###

    version: 6.9.3
    site_language: en_AU
    user_language: en_AU
    timezone: Australia/Sydney
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 4
    dotorg_communication: true

    ### wp-paths-sizes ###

    wordpress_path: /home/customer/www/[siteurlredacted].com/public_html
    wordpress_size: 115.46 MB (121069446 bytes)
    uploads_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/uploads
    uploads_size: 614.11 MB (643944184 bytes)
    themes_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/themes
    themes_size: 37.56 MB (39388408 bytes)
    plugins_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/plugins
    plugins_size: 231.36 MB (242603289 bytes)
    fonts_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/uploads/fonts
    fonts_size: directory not found
    database_size: 25.97 MB (27230208 bytes)
    total_size: 1.00 GB (1074235535 bytes)

    ### wp-dropins (4) ###

    advanced-cache.php: true
    db.php: true
    maintenance.php: true
    object-cache.php: true

    ### wp-active-theme ###

    name: Avada Child (Avada-Child-Theme)
    version: 1.0.0
    author: ThemeFusion
    author_website: https://theme-fusion.com
    parent_theme: Avada (Avada)
    theme_features: core-block-patterns, fusion-builder-options, widgets-block-editor, title-tag, automatic-feed-links, custom-header, custom-background, woocommerce, wc-product-gallery-zoom, wc-product-gallery-slider, wc-product-gallery-lightbox, post-formats, post-thumbnails, fusion-builder-demos, menus, align-wide, wp-block-styles, editor-font-sizes, editor-color-palette
    theme_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/themes/Avada-Child-Theme

    ### wp-parent-theme ###

    name: Avada (Avada)
    version: 7.15
    author: ThemeFusion
    author_website: https://themeforest.net/user/ThemeFusion
    theme_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/themes/Avada

    ### wp-themes-inactive (1) ###

    Twenty Twenty-Five: version: 1.4, author: the WordPress team

    ### wp-mu-plugins (2) ###

    Index WP MySQL For Speed Upgrade Filter for mu-plugins.: author: (undefined), version: 1.5.3
    RD Brand Loader (MU): author: Rosso Digital, version: (undefined)

    ### wp-plugins-active (28) ###

    Advanced Database Cleaner - Premium: version: 4.0.7, author: SigmaPlugin
    Automattic for Agencies Client: version: 0.7.2, author: Automattic
    Avada Builder: version: 3.15.0, author: ThemeFusion
    Avada Core: version: 5.15.0, author: ThemeFusion
    Avada Custom Branding: version: 1.2, author: ThemeFusion
    Companion Auto Update: version: 3.9.3, author: Papin Schipper
    Duplicate Page: version: 4.5.6, author: mndpsingh287
    Enable Media Replace: version: 4.1.8, author: ShortPixel
    Formidable Forms: version: 6.28, author: Strategy11 Form Builder Team
    Formidable Forms Pro: version: 6.28, author: Strategy11
    Formidable Mailchimp: version: 2.10, author: Strategy11
    Formidable Zapier: version: 2.04, author: Strategy11
    Index WP MySQL For Speed: version: 1.5.6, author: Oliver Jones, Rick James
    Meta pixel for WordPress: version: 4.1.5, author: Facebook
    OneSignal Push Notifications: version: 3.8.0, author: OneSignal
    Query Monitor: version: 3.20.2, author: John Blackbourn
    Redirection: version: 5.7.5, author: John Godley
    Security Optimizer: version: 1.5.9, author: SiteGround
    Site Kit by Google: version: 1.174.0, author: Google
    Speed Optimizer: version: 7.7.7, author: SiteGround
    WP-Cron Status Checker Pro: version: 1.2.8, author: Webhead LLC
    WP Activity Log (Premium): version: 5.6.1, author: Melapress
    WPCode Pro: version: 2.3.4, author: WPCode
    WP Crontrol: version: 1.21.0, author: John Blackbourn
    WP Fusion - Event Tracking Addon: version: 1.6.5, author: Very Good Plugins
    WP Mail SMTP Pro: version: 4.7.1, author: WP Mail SMTP
    Yoast SEO: version: 27.1.1, author: Team Yoast
    Yoast SEO Premium: version: 27.1, author: Team Yoast

    ### wp-plugins-inactive (1) ###

    Advanced Custom Fields PRO: version: 6.4.1, author: WP Engine

    ### wp-media ###

    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: 1
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    image_format_transforms: image/heic → image/jpeg, image/heif → image/jpeg, image/heic-sequence → image/jpeg, image/heif-sequence → image/jpeg, image/jpeg → image/webp, image/jpg → image/webp, image/png → image/webp, image/gif → image/webp, image/webp → image/webp
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    ghostscript_version: 10.05.1

    ### wp-server ###

    server_architecture: Linux 6.6.63-MCIclouder663-c9 x86_64
    httpd_software: Apache
    php_version: 8.2.30 64bit
    php_sapi: apache2handler
    max_input_variables: 3000
    time_limit: 300
    memory_limit: 768M
    max_input_time: 120
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 8.15.0 OpenSSL/3.5.4
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true
    static_robotstxt_file: false
    current: 2026-03-11T03:17:54+00:00
    utc-time: Wednesday, 11-Mar-26 03:17:54 UTC
    server-time: 2026-03-11T14:17:52+11:00

    ### wp-database ###

    extension: mysqli
    server_version: 8.4.6-6
    client_version: mysqlnd 8.2.30
    max_allowed_packet: 33554432
    max_connections: 500

    ### wp-constants ###

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/customer/www/[siteurlredacted].com/public_html/wp-content
    WP_PLUGIN_DIR: /home/customer/www/[siteurlredacted].com/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 768M
    WP_MAX_MEMORY_LIMIT: 768M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined

    ### wp-filesystem ###

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: does not exist
    mu-plugins: writable
Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    It seems that something on your site is attempting to send an HTTP API request to a URL of false, which is obviously not what should be happening.

    Rather than trying to paper over the problem in QM, finding the root cause would be better. Are you able to do a bit of debugging and try deactivating the plugins on your site one by one to see if you can identify the culprit? In addition, can you check the HTTP headers of the response? Query Monitor should include an HTTP header that details the HTTP API requests made, and hopefully there’s one in there that shows the attempted request to false with a useful stack trace pointing to the culprit.

    Let me know!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.