• Resolved Ciprian Pap

    (@kortex)


    Hi there,
    We are having a problem regarding the ElasticPress WordPress plugin Sync feature.

    We have this warning: Some ElasticPress queries failed in the last 24 hours. Please visit the [Status Report page] for more details.

    We tried running the Sync manually from ElasticPress>Sync>Sync Now. The sync process is starting but, after a while, it stops and returns this error: Something went wrong. Find troubleshooting steps at https://elasticpress.zendesk.com/hc/en-us/sections/360010868652-Troubleshooting.

    Our server admin team found out in the error log this>

    ============Uncaught TypeError: count(): Argument?#1?($value) must be of type Countable|array, bool given in /home/domain_name/public_html/wp-includes/formatting.php:3425\nStack trace:\n#0 /home/domain_name/public_html/wp-includes/class-wp-hook.php(308): convert_smilies(‘

    apply_filters(‘

    <img decodi…', Array)\n#2 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/Indexable/Post/Post.php(503): apply_filters('the_content', '</p />

    prepare_document(75914)\n#4 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/IndexHelper.php(645): ElasticPress\Indexable->bulk_index_dynamically(Array)\n#5 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/IndexHelper.php(428): ElasticPress\IndexHelper->index_next_batch()\n#6 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/IndexHelper.php(323): ElasticPress\IndexHelper->index_objects()\n#7 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/IndexHelper.php(79): ElasticPress\IndexHelper->process_sync_item()\n#8 /home/domain_name/public_html/wp-content/plugins/elasticpress/includes/classes/Screen/Sync.php(99): ElasticPress\IndexHelper->full_index(Array)\n#9 /home/domain_name/public_html/wp-includes/class-wp-hook.php(308): ElasticPress\Screen\Sync->action_wp_ajax_ep_index(”)\n#10 /home/domain_name/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)\n#11 /home/domain_name/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#12 /home/domain_name/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_ep_inde…’)\n#13 {main}\n thrown”

    They told us this is an error message indicating that a function called “Count()” is being passed an argument of the wrong type.

    Can you help us with some additional checks or fixes?

    Regards,
    Ciprian

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unable to sync ElasticPress results in Worpress’ is closed to new replies.