Title: [Plugin: Broken Link Checker] php error
Last modified: August 19, 2016

---

# [Plugin: Broken Link Checker] php error

 *  [jdybka](https://wordpress.org/support/users/jdybka/)
 * (@jdybka)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/)
 * This error appears when the plugin is enabled and running:
 * PHP Warning: preg_match() expects parameter 2 to be string, array given in /wordpress/
   wp-includes/comment.php on line 1553
 * WP 3.0
 * Thanks.

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

 *  [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581126)
 * At first glance, this problem appears unrelated to the plugin. Are you sure it
   was caused by BLC, i.e. does that error stop showing up if you deactivate the
   plugin?
 *  Thread Starter [jdybka](https://wordpress.org/support/users/jdybka/)
 * (@jdybka)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581182)
 * Thanks – yes it stops when I deactivate.
 *  [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581249)
 * Hmm. So at which point exactly does the error appear?
 *  Thread Starter [jdybka](https://wordpress.org/support/users/jdybka/)
 * (@jdybka)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581311)
 * That error shows up in the log file when the plugin is activated and running.
   It disappears when the plugin is deactivated. I’ve tried a couple themes.
 * The functionality for broken links works OK but the redirect functionality doesn’t
   do anything. 🙂
 *  [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581312)
 * I’ve looked through the code in /wp-includes/comment.php but – to be completely
   honest – I still have no clue as to what the root cause of the error is.
 * On the surface, the problem is that the pingback-related stuff in comment.php
   can’t handle URLs that return multiple ‘Content-Type’ headers. This is not surprising
   as, in general, no reasonable server returns more than one HTTP header of this
   type at a time.
 * How this relates to Broken Link Checker I have no idea. The plugin doesn’t mess
   with headers sent. It doesn’t even contain the text ‘Content-Type’ anywhere in
   it’s source code. The bug, whatever it is, must be something extremely obscure.
 * As for redirects, I’m guessing that your server doesn’t have the Curl library
   installed. Without it, the plugin can’t detect redirects. Check the “Show debug
   info” thingy on the settings page to verify.
 *  Thread Starter [jdybka](https://wordpress.org/support/users/jdybka/)
 * (@jdybka)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581313)
 * The debugging says:
    CURL version 7.20.0
 * Sorry. 🙁

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

The topic ‘[Plugin: Broken Link Checker] php error’ is closed to new replies.

## Tags

 * [commentphp](https://wordpress.org/support/topic-tag/commentphp/)
 * [preg_match](https://wordpress.org/support/topic-tag/preg_match/)

 * 6 replies
 * 2 participants
 * Last reply from: [jdybka](https://wordpress.org/support/users/jdybka/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-broken-link-checker-php-error/#post-1581313)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
