Title: Warning: parse_url
Last modified: September 1, 2016

---

# Warning: parse_url

 *  [donburikun](https://wordpress.org/support/users/donburikun/)
 * (@donburikun)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/)
 * I am getting the below error when on my site when I click on this URL:
    -  [http://www.#########.com/register/?redirect_to=http://www.#########.com](http://www.#########.com/register/?redirect_to=http://www.#########.com)
 * Error:
 *     ```
       Warning: parse_url(/register/?redirect_to=http://www.#########.com/create-listing/) [function.parse-url]: Unable to parse URL in /home1/#########/public_html/#########/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php on line 307
       ```
   
 * I am using WordPress 4.5.3 and Classipress 3.5.5. Doing a [Google search for the above error](https://www.google.com/#q=wp-content%2Fplugins%2Fwordfence%2Fvendor%2Fwordfence%2Fwf-waf%2Fsrc%2Flib%2Frequest.php+on+line+307)
   turns up a lot of live sites with the same error. Any idea what the cause/fix
   might be for this? Thank you.
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515123)
 * Hello donburikun, we have a bug filed for this. Our internal reference number
   is FB1730. For debugging purposes, could you let us know what version of PHP 
   you are running? You can see this on the Wordfence “Diagnostics” page. Thanks
   in advance!
 *  Thread Starter [donburikun](https://wordpress.org/support/users/donburikun/)
 * (@donburikun)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515168)
 * Thank you for your reply. I am running WordPress 4.5.3 with PHP 5.5.
 *  Thread Starter [donburikun](https://wordpress.org/support/users/donburikun/)
 * (@donburikun)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515196)
 * Please let me know if you require any further information.
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515199)
 * Hello donburikun,
    we have a bug filed but I can’t tell you when it will be fixed.
   We don’t have a lot of reports of this error. It happens with some particular
   URL structures. The URL you are seeing there (/register/?redirect_to=http://www.#########.
   com/create-listing/) do you recognize which plugin it belongs to? It’s not a 
   basic WordPress URL.
 *  Thread Starter [donburikun](https://wordpress.org/support/users/donburikun/)
 * (@donburikun)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515202)
 * Thank you for your reply. That is disappointing to hear. While you may not have
   many “reports” it can be seen by a simple [google searc](https://www.google.com/#q=wp-content%2Fplugins%2Fwordfence%2Fvendor%2Fwordfence%2Fwf-waf%2Fsrc%2Flib%2Frequest.php+on+line+307)
   h that there are many sites with this issue (6050 at this time).
 * Yes, this URL is from the theme I am using on my site (Classipress). Appreciate
   your response. Thanks again.
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-7515206)
 * Hello again,
    A verbatim Google search returns 60 results and virtually all of
   them are caused my malformed URLs. I see a few that look like they’re hacked 
   too. Where are you getting the figure 6050?
 *  [metalmate](https://wordpress.org/support/users/metalmate/)
 * (@metalmate)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-9283835)
 * Hello,
 * I’ve got the same problem (I use PHP 5.2):
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/XXXXXXXXXXXX.com/public_html/wp-content/plugins/wordfence/vendor/wordfence/
   wf-waf/src/lib/request.php:329) in /home/XXXXXXXXXXXX.com/public_html/wp-includes/
   pluggable.php on line 1167
 * Any ideas anybody?
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-9291235)
 * metalmate, you should definitely get your PHP upgraded to at least 5.6 (preferably
   7). If you are unsure of how to do this, please reach out to your web host. We
   do not recommend using Wordfence with PHP 5.2.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Warning: parse_url’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [wfasa](https://wordpress.org/support/users/wfasa/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/warning-parse_url-3/#post-9291235)
 * Status: not resolved