Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, you can fix it by doing the following in the Breadcrumbs.php file

    correcting line 104:
    $this->args = apply_filters( ‘slim_seo_breadcrumbs_args’, $this->args );

    to this:
    $this->args = apply_filters( ‘slim_seo_breadcrumbs_args’, is_array( $this->args ) ? $this->args : [] );

    I had the same error, but I solved it like this, making sure it is always an array, even if it comes null.

    Forum: Reviews
    In reply to: [Fpay] Ordinario

    @oparra Así es, imagínate en mi caso: venta de tickets, llegaron alrededor de 20 personas con sus cobros en sus emails, pidiendo entrar a un evento que se había agotado y que fpay nunca proceso en woocommerce correctamente. Otro punto, en el portal de fpay no se guarda como referencia el numero de pedido, entonces no hay como validar o buscar, a menos que el comprador te diga el código de autorización, que por lo general no entienden de que se trata. Tuve que eliminar de las opciones de pago a fpay.

    Thread Starter biboocl

    (@biboocl)

    @olliejones sorry for not bringing feedback before, I did the installation with Maria DB and hyper DB (also tried with LudicrousDB), configuration of two M/S servers.

    And it worked perfectly with both configurations, sure enough, the indexes are written to the read database.

    PS: it also worked for the user addon

    Thank you very much for your work.

    Hello, you can do it with a custom loop, this example works for posts and products:

    <?php
        $args  = array(
          'post_type' => 'product', // or 'post'
          'posts_per_page' => '20',
          'post_status' => 'publish',
          'return' => 'ids',
          'orderby' => 'meta_value',
          'meta_key' => '_expiration-date',
          'order' => 'ASC', // or 'DESC'
          'product_cat' => 'yourcategory' // 'cat' => 'yourcategory'
      );
        $products = new WP_Query( $args ); 
        if ( $products->have_posts() ) {
          while ( $products->have_posts() ) : $products->the_post();
            wc_get_template_part( 'content', 'yourcontent' ); // or get_template_part( 'partials/content', 'post' ); for posts
          endwhile; // end of the loop.
          wp_reset_postdata();
        }
      ?>

    You can modify as you like for personalized content.
    Greetings ??

    • This reply was modified 2 years, 6 months ago by biboocl.
Viewing 4 replies - 1 through 4 (of 4 total)