Rollaz
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Fatal error: Uncaught TypeErrorDisabling all other plugins did not solve this issue.
For now moved to other plugin, will investigate later.
Thank you.Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Fatal error: Uncaught TypeErrorNothing 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 232
There has been a critical error on this website. Please check your site admin email inbox for instructions.- This reply was modified 5 months ago by Rollaz.
Forum: Plugins
In reply to: [Ajax Search Lite - Live Search & Filter] TypeError: response.matchYes, that was the problem ?? Search now is working. Thank you!
Forum: Plugins
In reply to: [Ajax Search Lite - Live Search & Filter] TypeError: response.matchUpdate ??
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
In reply to: [Ajax Search Lite - Live Search & Filter] TypeError: response.matchquick response ??
applied suggested changes – now plugin seems to be working but doesn’t find anything. Always returns !!ASPSTART!![]!!ASPEND!! in response.Forum: Plugins
In reply to: [Ajax Search Lite - Live Search & Filter] TypeError: response.matchOn 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
(https://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];
(https://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.