Forums

Drain Hole throwing PHP warnings (3 posts)

  1. BigAbbott
    Member
    Posted 1 year ago #

    Upon installing Drain Hole and creating my first hole, the following warning is plastered on every page of my site:
    Warning: preg_match() [function.preg-match]: Unknown modifier '1' in /home1/armycoun/public_html/wp/wp-includes/class-wp.php on line 198
    It also complains about line 199.
    After checking out that php file, it appears to be related to URL rewriting. I've also seen warnings citing similar-looking things in my pluggable functions file.
    Deactivating Drain Hole resolves the warnings. I assume I set up my hole incorrectly. I can scan the directory and pull in files, so I believe the 'directory' field is correct. I have tried different things in the URL field to no avail.

    Honestly, I don't even care what the URL is. I'm just interested in embedding links into posts.

    URL: /download
    Directory: /home1/armycoun/download (one level above my web directory)

    If anyone has any advice, I'd greatly appreciate it.

  2. BigAbbott
    Member
    Posted 1 year ago #

    The warning that references pluggable.php is:
    Warning: Cannot modify header information - headers already sent by (output started at /home1/armycoun/public_html/wp/wp-includes/class-wp.php:198) in /home1/armycoun/public_html/wp/wp-includes/pluggable.php on line 897
    I see this one (along with the previous warning) any time I try to access a page on the site other than the home page.

  3. BigAbbott
    Member
    Posted 1 year ago #

    I figured it out. I had some files in the download folder that had huge names. It was freaking out WordPress.

    I deleted the files, removed them from the Hole, and re-scanned. All is well. Time to rename some files.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags