PHP Warning

Ivory Search Forums Support PHP Warning

Viewing 1 reply thread

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #14917
      Les Dickson
      Participant
      • Topics: 2
      • Replies: 0

      I continually find the warning below in my error log

      PHP Warning: preg_match(): Unknown modifier ‘I’ in /xxxx/xxxxxxxxxx/public_html/wp-content/plugins/add-search-to-menu/public/class-is-public.php on line 1009
      below is line 1009

      if ( ‘1’ == $fuzzy_match && preg_match( ”
      /\\b{$preg_safe_term}\\b/iu”, $table_cell ) || ‘2’
      == $fuzzy_match && (preg_match( ”
      /\\b{$preg_safe_term}/iu”, $table_cell ) ||
      preg_match( “/{$preg_safe_term}\\b/iu”, $table_cell
      )) || ‘3’ == $fuzzy_match && false !== stripos(
      $table_cell, $search_term ) ) {

    • #14960
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Sorry to hear about the problem you are having.

      Could you please tell me which version of PHP and WordPress you are using on your website?

      Best regards,
      Ivory Search Support

Viewing 1 reply thread

You must be logged in to create new topic or reply to the topic.