Home Forums Basel support forum Several issues! :)

Several issues! :)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #105043

    Estefania
    Participant

    Hi! I have to report 2 problems:
    1- At Product Data tab, at Variations, I have these 2 messages:
    Warning: Invalid argument supplied for foreach() in /usr/home/DOMAIN.com/web/wp-content/themes/THEME/inc/woocommerce/variation-gallery.php on line 19
    Warning: implode(): Invalid arguments passed in /usr/home/DOMAIN.com/web/wp-content/themes/THEME/inc/woocommerce/variation-gallery.php on line 43

    I have tried to update Basel theme and Woocommerce, but it is not fixed. Any idea for fixing it?

    2-At Product Category shown into a tab, sometimes the articles are not ordered, I mean, there are some blank spaces in the first raw.

    I´ll give you the credentials. Please, take care because the site is in production and I have no staging server….
    I am working with Child theme.

    Thanks! Estefanía.

    #105071

    Hello,

    Please deactivate the plugins not related to the theme and switch to the parent theme so that we could check or confirm the permit to do by us.

    Best Regards

    #115903

    Estefania
    Participant

    Hi again Elise.
    Thanks for you help!
    I have tried several things to solve the problem:
    1- At Product Data tab, at Variations, I have these 2 messages:
    Warning: Invalid argument supplied for foreach() in /usr/home/DOMAIN.com/web/wp-content/themes/THEME/inc/woocommerce/variation-gallery.php on line 19
    Warning: implode(): Invalid arguments passed in /usr/home/DOMAIN.com/web/wp-content/themes/THEME/inc/woocommerce/variation-gallery.php on line 43

    The problem is the plugin: Redux Framework Version 3.6.15 | By Team Redux. When it is activated, the error is on, when deactivated, the error disappears.
    But it is an essential plugin, so I have to keep it activated… 🙁

    About the second problem:
    2-At Product Category shown into a tab, sometimes the articles are not ordered, I mean, there are some blank spaces in the first raw.

    I have deactivated plugins, changed to parent theme and the error is still there.
    I have created an admin user for you. I will like to send all the credentials, as well, some screenshoots so you can easily understand and ( I hope) fix both problems.

    As I can not send pictures in private mode, where can I send you a private email?

    #115936

    Hello,

    Please deactivate all the plugins not related to the theme, switch to the parent theme and provide the product URL with the problem.

    Here is the list of related plugins http://prntscr.com/m8bny3

    Best Regards

    #116237

    Estefania
    Participant

    Thanks, Elise.
    According to the picture you have sent, please, do you mind indicate the authors of these plugins:
    Custom Metaboxes Frameworks
    Theme Option Framework?
    The Framework I have installed is Redux Framework Version 3.6.15 | By Team Redux, and (as I said before in the last reply) it is giving some incompatibilities.
    I have tried to do you have said:
    “Deactivate all the plugins not related to the theme, switch to the parent….” and the problem is still there.
    Data of pages where the error is shown are in the previous private message with credentials.

    Thanks!
    Estefanía.

    #116285

    Hello,

    Deactivate all the plugins at all, then go to Appearance > Install plugins, you will see the list of plugins related to the theme, activate.

    Best Regards

    #117428

    Estefania
    Participant

    Hi Elise.
    I already have done all you have said.
    I have deactivated all plugins and error is still there.

    Please, tell me the next steps we are going to do 🙂

    Thanks!
    Estefanía.

    #117465

    Hello,

    Please find thi file inc / woocommerce / variation-gallery.php

    And change this line:

    echo '<input type="hidden" class="variation-gallery-ids" name="basel_variation_gallery[' . esc_attr( $variation->ID ) . ']" value="' . esc_attr( implode( ',', $attachments ) ) . '">';

    for this line:

    echo '<input type="hidden" class="variation-gallery-ids" name="basel_variation_gallery[' . esc_attr( $variation->ID ) . ']" value="' . esc_attr( $attachments ) . '">';

    Best Regards

    #117704

    Estefania
    Participant

    Thanks so much for that solution!
    The problem #1 is fixed:
    The code in variation products is disappeared!

    But, We have still to fix the second problem:
    2-At Product Category shown into a tab, sometimes the articles are not ordered, I mean, there are some blank spaces in the first row.
    For example, you can see the products are placed not filling a row of 4 products, but 2 products at the first row, and others bellow.
    A pic is attached.
    Thanks a lot in advance! I am a little bit in a hurry :(…

    Estefanía.

    Attachments:
    You must be logged in to view attached files.
    #117761

    Hello,

    You are using tabs and Woocommerce element. It works incorrectly and our theme does not influence. Please replace this element http://prntscr.com/n9etb6 with AJAX Product Tabs http://prntscr.com/n9eu39

    Best Regards

    #117784

    Estefania
    Participant

    Thanks a lot Elise!!!!
    PROBLEM FIXED!
    But….Is it possible to have opened menu (and centered) at tabs also in mobile devices?

    Have a nice day and a nice week 🙂

    TX!
    Regards!
    Estefanía.

    #117869

    Hello,

    Your question is not clear enough. Can you show a site sample where you saw it and want to reproduce?

    Best Regards

Viewing 12 posts - 1 through 12 (of 12 total)