Title: Rollaz's Replies | WordPress.org

---

# Rollaz

  [  ](https://wordpress.org/support/users/rollaz/)

 *   [Profile](https://wordpress.org/support/users/rollaz/)
 *   [Topics Started](https://wordpress.org/support/users/rollaz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rollaz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rollaz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rollaz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rollaz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rollaz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Fatal error: Uncaught TypeError](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-37/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-37/#post-17867172)
 * Disabling all other plugins did not solve this issue. 
   For now moved to other
   plugin, will investigate later. Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Fatal error: Uncaught TypeError](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-37/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-37/#post-17836916)
 * Nothing new, the same error when trying to enable plugin:
   `Fatal error: Uncaught
   TypeError: Cannot access offset of type string on string in /home/series/domains/
   xxx/public_html/wp-admin/includes/class-wp-privacy-policy-content.php:232 Stack
   trace: #0 /home/series/domains/xxx/public_html/wp-content/plugins/x-complianz-
   gdpr/documents/admin-class-documents.php(47): WP_Privacy_Policy_Content::get_suggested_policy_text()#
   1 /home/series/domains/xxx/public_html/wp-content/plugins/x-complianz-gdpr/class-
   admin.php(68): cmplz_documents_admin->preload_privacy_info() #2 /home/series/
   domains/xxx/public_html/wp-includes/class-wp-hook.php(324): cmplz_admin->activation()#
   3 /home/series/domains/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook-
   >apply_filters() #4 /home/series/domains/xxx/public_html/wp-includes/plugin.php(
   517): WP_Hook->do_action() #5 /home/series/domains/xxx/public_html/wp-admin/admin.
   php(175): do_action() #6 /home/series/domains/xxx/public_html/wp-admin/plugins.
   php(10): require_once('/home/series/do…') #7 {main} thrown in /home/series/domains/
   xxx/public_html/wp-admin/includes/class-wp-privacy-policy-content.php on line
   232There has been a critical error on this website. Please check your site admin
   email inbox for instructions.
    -  This reply was modified 2 years, 1 month ago by [Rollaz](https://wordpress.org/support/users/rollaz/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] TypeError: response.match](https://wordpress.org/support/topic/typeerror-responsematch/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/typeerror-responsematch/#post-5733193)
 * Yes, that was the problem 🙂 Search now is working. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] TypeError: response.match](https://wordpress.org/support/topic/typeerror-responsematch/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/typeerror-responsematch/#post-5733191)
 * Update 🙂
    I inspected more with firebug, with debug turned on. So now in ajax
   response I see database error:
 *     ```
       <p class='wpdberror'><strong>WordPress database error:</strong> [Got error 'empty (sub)expression' from regexp]<br />
       			<code>
           		SELECT
                 wp_posts.post_title as title,
                 wp_posts.ID as id,
                 wp_posts.post_date as date,
                 wp_posts.post_content as content,
                 wp_posts.post_excerpt as excerpt,
                 wp_users.user_nicename as author,
                 CONCAT('--', GROUP_CONCAT(DISTINCT wp_terms.term_id SEPARATOR '----'), '--') as ttid,
                 wp_posts.post_type as post_type,
                 ((case when
                       (lower(wp_posts.post_title) REGEXP 'Array')
                        then 10 else 0 end) + (case when
                       (lower(wp_posts.post_title) REGEXP '')
                        then 10 else 0 end) + (case when
                       (lower(wp_posts.post_content) REGEXP 'Array')
                        then 7 else 0 end) + (case when
                       (lower(wp_posts.post_content) REGEXP '')
                        then 7 else 0 end)) as relevance
           		FROM wp_posts
               LEFT JOIN wp_postmeta ON wp_postmeta.post_id = wp_posts.ID
               LEFT JOIN wp_users ON wp_users.ID = wp_posts.post_author
               LEFT JOIN wp_term_relationships ON wp_posts.ID = wp_term_relationships.object_id
               LEFT JOIN wp_term_taxonomy ON wp_term_taxonomy.term_taxonomy_id = wp_term_relationships.term_taxonomy_id
               LEFT JOIN wp_terms ON wp_term_taxonomy.term_id = wp_terms.term_id
   
           	WHERE
                       (wp_posts.post_type REGEXP '[[:<:]]post[[:>:]]|[[:<:]]page[[:>:]]')
                   AND (lower(wp_posts.post_status) REGEXP 'publish')
                   AND (( lower(wp_posts.post_title) LIKE '%%' ) OR ( lower(wp_posts.post_content) LIKE '%%' ))
                   AND (wp_posts.ID NOT IN (-55))
               GROUP BY
                 wp_posts.ID
   
                 ORDER BY relevance DESC, wp_posts.post_date DESC
               LIMIT 10</code></p>
       			</div>!!ASPSTART!![]!!ASPEND!!
       ```
   
 * I guess it’s because of that commented line.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] TypeError: response.match](https://wordpress.org/support/topic/typeerror-responsematch/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/typeerror-responsematch/#post-5733190)
 * quick response 🙂
    applied suggested changes – now plugin seems to be working
   but doesn’t find anything. Always returns !!ASPSTART!![]!!ASPEND!! in response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] TypeError: response.match](https://wordpress.org/support/topic/typeerror-responsematch/)
 *  Thread Starter [Rollaz](https://wordpress.org/support/users/rollaz/)
 * (@rollaz)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/typeerror-responsematch/#post-5733187)
 * On POST response I see an error:
 * Fatal error: Call to undefined function mb_convert_case() in /var/www/html/wp-
   content/plugins/ajax-search-lite/includes/search.class.php on line 41
    ([http://mydomain/wp-content/plugins/ajax-search-lite/js/nomin-scoped/asljquery.js?ver=3.8.1](http://mydomain/wp-content/plugins/ajax-search-lite/js/nomin-scoped/asljquery.js?ver=3.8.1))
 * TypeError: response.match(…) is null
    response = response.match(/!!ASPSTART!!(.*[\
   s\S]*)!!ASPEND!!/)[1]; ([http://mydomain/wp-content/plugins/ajax-search-lite/js/nomin-scoped/jquery.ajaxsearchlite.js?ver=3.8.1](http://mydomain/wp-content/plugins/ajax-search-lite/js/nomin-scoped/jquery.ajaxsearchlite.js?ver=3.8.1))
 * And I can not give a link for you, because it is an internal page and it is not
   reachable outside my company.
 * Blind guess: can it be related with jQuery versions or something in php settings?
   I tried the same website and database set up on my local computer with random
   environment (easyPHP server don’t know exactly any PHP ir SQL versions) and search
   worked here as it is.

Viewing 6 replies - 1 through 6 (of 6 total)