Ivory Search › Forums › Support › PHP Warning
- This topic has 5 replies, 3 voices, and was last updated 1 week, 6 days ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- February 16, 2023 at 1:50 AM #14917
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 1009if ( ‘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 ) ) { - February 16, 2023 at 8:32 PM #14960
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 - January 16, 2025 at 7:24 PM #23195
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.phpI am using:
WordPress: 6.7.1
Theme: Divi: 4.27.4
PHP: 8.3.15Thank you for your help.
Diana - January 17, 2025 at 2:24 PM #23204
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?
- January 17, 2025 at 6:38 PM #23207This reply has been marked as private.
- January 20, 2025 at 2:50 PM #23224
I will troubleshoot the issue and notify you soon.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login