Title: Uncaught Error: parse_url()
Last modified: March 11, 2026

---

# Uncaught Error: parse_url()

 *  [Rosso Digital](https://wordpress.org/support/users/roberthemsing/)
 * (@roberthemsing)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/uncaught-error-parse_url/)
 * 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.
 *     ```wp-block-code
       Uncaught Error: parse_url(): Argument #1 ($url) must be of type string, bool givenin /home/customer/www/[siteurlredacted].com/public_html/wp-content/plugins/query-monitor/collectors/http.php on line 370Call stack:parse_url(false, 1)wp-content/plugins/query-monitor/collectors/http.php:370QM_Collector_HTTP::process()wp-content/plugins/query-monitor/classes/Collectors.php:84QM_Collectors::process()wp-content/plugins/query-monitor/classes/Dispatcher.php:123QM_Dispatcher::get_outputters('headers')wp-content/plugins/query-monitor/dispatchers/Redirect.php:39QM_Dispatcher_Redirect::filter_wp_redirect('/wp-admin/edit-comme...h&paged=1&deleted=24', 302)wp-includes/class-wp-hook.php:341WP_Hook::apply_filters('/wp-admin/edit-comme...h&paged=1&deleted=24', array)wp-includes/plugin.php:205apply_filters('wp_redirect', '/wp-admin/edit-comme...h&paged=1&deleted=24', 302)wp-includes/pluggable.php:1492wp_redirect('/wp-admin/edit-comme...h&paged=1&deleted=24', 302, 'WordPress')wp-includes/pluggable.php:1641wp_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-block-code
       `### wp-core ###version: 6.9.3site_language: en_AUuser_language: en_AUtimezone: Australia/Sydneypermalink: /%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: undefinedenvironment_type: productionuser_count: 4dotorg_communication: true### wp-paths-sizes ###wordpress_path: /home/customer/www/[siteurlredacted].com/public_htmlwordpress_size: 115.46 MB (121069446 bytes)uploads_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/uploadsuploads_size: 614.11 MB (643944184 bytes)themes_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/themesthemes_size: 37.56 MB (39388408 bytes)plugins_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/pluginsplugins_size: 231.36 MB (242603289 bytes)fonts_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/uploads/fontsfonts_size: directory not founddatabase_size: 25.97 MB (27230208 bytes)total_size: 1.00 GB (1074235535 bytes)### wp-dropins (4) ###advanced-cache.php: truedb.php: truemaintenance.php: trueobject-cache.php: true### wp-active-theme ###name: Avada Child (Avada-Child-Theme)version: 1.0.0author: ThemeFusionauthor_website: https://theme-fusion.comparent_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-palettetheme_path: /home/customer/www/[siteurlredacted].com/public_html/wp-content/themes/Avada-Child-Theme### wp-parent-theme ###name: Avada (Avada)version: 7.15author: ThemeFusionauthor_website: https://themeforest.net/user/ThemeFusiontheme_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.3RD Brand Loader (MU): author: Rosso Digital, version: (undefined)### wp-plugins-active (28) ###Advanced Database Cleaner - Premium: version: 4.0.7, author: SigmaPluginAutomattic for Agencies Client: version: 0.7.2, author: AutomatticAvada Builder: version: 3.15.0, author: ThemeFusionAvada Core: version: 5.15.0, author: ThemeFusionAvada Custom Branding: version: 1.2, author: ThemeFusionCompanion Auto Update: version: 3.9.3, author: Papin SchipperDuplicate Page: version: 4.5.6, author: mndpsingh287Enable Media Replace: version: 4.1.8, author: ShortPixelFormidable Forms: version: 6.28, author: Strategy11 Form Builder TeamFormidable Forms Pro: version: 6.28, author: Strategy11Formidable Mailchimp: version: 2.10, author: Strategy11Formidable Zapier: version: 2.04, author: Strategy11Index WP MySQL For Speed: version: 1.5.6, author: Oliver Jones, Rick JamesMeta pixel for WordPress: version: 4.1.5, author: FacebookOneSignal Push Notifications: version: 3.8.0, author: OneSignalQuery Monitor: version: 3.20.2, author: John BlackbournRedirection: version: 5.7.5, author: John GodleySecurity Optimizer: version: 1.5.9, author: SiteGroundSite Kit by Google: version: 1.174.0, author: GoogleSpeed Optimizer: version: 7.7.7, author: SiteGroundWP-Cron Status Checker Pro: version: 1.2.8, author: Webhead LLCWP Activity Log (Premium): version: 5.6.1, author: MelapressWPCode Pro: version: 2.3.4, author: WPCodeWP Crontrol: version: 1.21.0, author: John BlackbournWP Fusion - Event Tracking Addon: version: 1.6.5, author: Very Good PluginsWP Mail SMTP Pro: version: 4.7.1, author: WP Mail SMTPYoast SEO: version: 27.1.1, author: Team YoastYoast 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_GDimagick_module_version: Not availableimagemagick_version: Not availableimagick_version: Not availablefile_uploads: 1post_max_size: 256Mupload_max_filesize: 256Mmax_effective_size: 256 MBmax_file_uploads: 20image_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/webpgd_version: 2.3.3gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPMghostscript_version: 10.05.1### wp-server ###server_architecture: Linux 6.6.63-MCIclouder663-c9 x86_64httpd_software: Apachephp_version: 8.2.30 64bitphp_sapi: apache2handlermax_input_variables: 3000time_limit: 300memory_limit: 768Mmax_input_time: 120upload_max_filesize: 256Mphp_post_max_size: 256Mcurl_version: 8.15.0 OpenSSL/3.5.4suhosin: falseimagick_availability: falsepretty_permalinks: truehtaccess_extra_rules: truestatic_robotstxt_file: falsecurrent: 2026-03-11T03:17:54+00:00utc-time: Wednesday, 11-Mar-26 03:17:54 UTCserver-time: 2026-03-11T14:17:52+11:00### wp-database ###extension: mysqliserver_version: 8.4.6-6client_version: mysqlnd 8.2.30max_allowed_packet: 33554432max_connections: 500### wp-constants ###WP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /home/customer/www/[siteurlredacted].com/public_html/wp-contentWP_PLUGIN_DIR: /home/customer/www/[siteurlredacted].com/public_html/wp-content/pluginsWP_MEMORY_LIMIT: 768MWP_MAX_MEMORY_LIMIT: 768MWP_DEBUG: falseWP_DEBUG_DISPLAY: falseWP_DEBUG_LOG: falseSCRIPT_DEBUG: falseWP_CACHE: trueCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: undefinedWP_DEVELOPMENT_MODE: undefinedDB_CHARSET: utf8DB_COLLATE: undefined### wp-filesystem ###wordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writablefonts: does not existmu-plugins: writable
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [2 months, 1 week ago](https://wordpress.org/support/topic/uncaught-error-parse_url/#post-18858164)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-error-parse_url%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/uncaught-error-parse_url/#post-18858164)
 * Status: not resolved