PHP Warning

Ivory Search Forums Support PHP Warning

Viewing 5 reply threads

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,761

      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

    • #23195
      dee987@gmail.com
      Participant
      • Topics: 0
      • Replies: 2

      Hi,

      I am having the same issue.
      I have the following repeatedly in my PHP error log:
      /public_html/wp-content/plugins/add-search-to-menu/public/class-is-public.php

      I am using:

      WordPress: 6.7.1
      Theme: Divi: 4.27.4
      PHP: 8.3.15

      Thank you for your help.
      Diana

    • #23204
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,761

      It seems your screenshot didn’t get uploaded so could you please share it again and also share the error message here so I can troubleshoot it?

    • #23207
      dee987@gmail.com
      Participant
      • Topics: 0
      • Replies: 2
      This reply has been marked as private.
    • #23224
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,761

      I will troubleshoot the issue and notify you soon.

Viewing 5 reply threads

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