Just did a fresh d7 basic install and only this module enabled and I get the following error:

    *  Notice: Use of undefined constant PREG_CLASS_SEARCH_EXCLUDE - assumed 'PREG_CLASS_SEARCH_EXCLUDE' in search404_get_keys() (line 61 of /Users/jbitner/Sites/drupal-7.x-dev/sites/all/modules/search404/search404.module).
    * The page you requested does not exist. For your convenience, a search was performed using the query home.

Searched the module, and indeed it is not defined ;)

CommentFileSizeAuthor
#1 search404-895922.patch736 bytespmorel

Comments

pmorel’s picture

Status: Active » Needs review
StatusFileSize
new736 bytes

PREG_CLASS_SEARCH_EXCLUDE in drupal 6 is now PREG_CLASS_UNICODE_WORD_BOUNDARY
Patch attached

zyxware’s picture

Status: Needs review » Fixed

Thanks. Changed and committed to dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.