Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds like some sort of server-side error is occurring, but we don’t have any way to know what it was. Can you check your error logs to see if anything is showing up, particularly around Fatal errors.

    Thread Starter David Fuller

    (@dlfulle)

    It appears that somehow, your plug-in is triggering another plug-in to try an INSERT into its table with null values. Is there a way I can exempt this table? It’s not something we want indexed anyway.

    WordPress database error Column ‘XXXXXX’ cannot be null for query INSERT INTO XXXXXXX (XXXX, company, first_name, last_name, email, assesment_type, more_0, more_1, more_2, more_3, more_4, less_0, less_1, less_2, less_3, less_4, created_at) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘0’, ‘2021-10-21 23:57:37’) /* From (line from plugin)

    */ made by do_action(‘wp_ajax_algolia_re_index’), WP_Hook->do_action, WP_Hook->apply_filters, Algolia_Admin->re_index, Algolia_Index->re_index, Algolia_Searchable_Posts_Index->get_records, Algolia_Searchable_Posts_Index->get_post_records, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, SDQuiz->action_display_quiz_communication, referer: https://aboutleaderstt.wpengine.com/wp-admin/admin.php?page=algolia-search-page

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm. We’re not going to have any functionality around excluding tables.

    We do have filters that can be utilized to dictate if a given post should be indexed though. I could envision possibly using that to check for what looks to be a shortcode from whatever SDQuiz is, and return false on indexing if that shortcode exists for the post. We should already have UI for excluding indexing by entire post type.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error When Trying to Index’ is closed to new replies.