• Resolved NewsArena

    (@newsarena)


    PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Unknown modifier '0' in /home/*****/public_html/wp-content/plugins/wassup/wassup.php on line 1430

    I have this error from several days.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author michelem

    (@michelem)

    Could you try to change the line 1430 of the file wassup.php with this?

    if($req_code == 200 || empty($recent_hit) || ($hackercheck && $spam==0 && (stristr($urlRequested,"/wp-")!==FALSE || preg_match('#\.(php\d?|aspx?|bat|cgi|dll|exe|ini|js|jsp|msi|sh)([^0-9a-z.\-_]|$)|([\\\.]{2}|\/\.|root[^a-z0-9\-_]|[^a-z0-9\-_]passw|\=admin[^a-z0-9\-_]|\=\-\d+|(bin|etc)\/)|[\*\,\'"\:\(\)$`]|[^0-9a-z](src|href|style)[ +]?=|&\#?([0-9]{2,4}|lt|gt|quot);|(?:<|%3c|<?|&\#0*60;?|&\#x0*3c;?)[jpsv]|(?:user|author|admin|id)\=\-?\d+|(administrator|base64|bin|code|config|cookie|delete|document|drop|drupal|eval|exec|exit|function|iframe|insert|install|java|joomla|load|null|repair|script|select|setting|setup|shell|system|table|union|upgrade|update|upload|where|window|wordpress)#i',$urlRequested)>0))){

    • This reply was modified 7 years, 5 months ago by michelem.
    • This reply was modified 7 years, 5 months ago by michelem.
    Thread Starter NewsArena

    (@newsarena)

    It’s OK now. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unknown modifier Error’ is closed to new replies.