Lucian
August 25, 2024, 7:46pm
1
Browser : Chrome 110
OS : macOS / Windows / Linux / etc.
URL : Link to a page that illustrates this issue
Video : Short screen recording that illustrates this issue (free tool: jam.dev )
My Query Filter indexing is stuck.
Bricks > Settings > Query Filter > Regenerate filter index
I’m not using HTPP authentication and I tried with WP Cron enabled and disabled (cron job at server level). Nothing works.
None all my Filters work.
@Lucian ,
As per my email reply, we can replicate this bug when a filter element’s job already queued but removed before the completion of the job.
Working on a fix now.
Anyone encountering a similar issue can send admin credentials to help@bricksbuilder.io and include this forum thread URL as a reference.
I will apply a potential fix on your site.
Regards,
Jenn
1 Like
Matej
August 27, 2024, 9:54pm
3
Hi guys,
We’ve fixed this issue in Bricks 1.10.2, now available as a one-click update in your WordPress Dashboard.
Please let us know if you are still experiencing issues.
You can see the full changelog here: Bricks 1.10.2 Changelog – Bricks
Best regards,
M
davig
September 9, 2024, 9:55am
4
@Matej
Doesn’t seem solved, stuck on my wordpress instance, using local wp on my desktop.
Hi @davig ,
Please place this PHP code on a Code element in a new blank page.
Enable Execute code and let use know what you see.
<?php
$url = add_query_arg(
[
'action' => 'bricks_background_index_job',
'nonce' => wp_create_nonce( 'bricks-nonce-indexer' )
],
admin_url( 'admin-ajax.php' )
);
$args = [
'sslverify' => false,
'body' => '',
'timeout' => 10,
'cookies' => $_COOKIE,
];
$response = \Bricks\Helpers::remote_post( $url, $args );
if( is_wp_error( $response ) ) {
echo '<pre>';
var_dump( $response->get_error_message() );
echo '</pre>';
} else {
// Get the body of the response
if ( isset( $response['response'] ) ) {
echo '<pre>';
var_dump( $response['response'] );
echo '</pre>';
} else {
echo '<pre>';
var_dump( $response );
echo '</pre>';
}
}
?>
Can you see something like this?
If not, your Local WP might have some settings causing wp_remote_post not to work.
Regards,
Jenn
Hi @davig ,
If the code returns message “OK”, means your local WP is not blocking the background task / wp_remote_post().
Your filter indexing not running should be able to solve by clicking the “Continue index job” button.
Regards,
Jenn
Matej
October 2, 2024, 4:26pm
8
Hi guys,
We’ve improved this in Bricks 1.11 BETA, now available as a manual download (Bricks – Account )
Please let us know if you are still experiencing issues.
You can see the full changelog here: Bricks 1.11 Changelog – Bricks
As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.
Best regards,
Matej