Theme not keeping Grid/List views correctly

This topic has 28 replies, 3 voices, and was last updated 3 years, 7 months ago ago by Olga Barlow

  • Avatar: Jamie
    Jamie
    Participant
    June 29, 2020 at 19:45

    Hi, the theme seems to be not keeping its settings on the WooCommerce layouts. For example if I select grid as the view standard view. It will sometimes show in grid and sometimes not but when I refresh cache it loads correctly. Same with the product info page, it will load with the image on the left and info on the right as it should but it will also mess up and load the image on the left top and info below. When I refresh cache it goes back to normal. Both will break at the same time.

    I have an app for iOS and Android and it loads the website and when the above mentioned issues happen it loads a critical error in the apps. Again clearing cache fixes issue temporarily. My app tech guy said to send you this info to help with the issue.

    [27-Jun-2020 22:40:06 America/Los_Angeles] PHP Fatal error: Uncaught Error: Call to undefined function etheme_get_option() in /srv/htdocs/wp-content/themes/xstore/woocommerce/loop/loop-start.php:26
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(251): include()
    #1 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1085): wc_get_template(‘loop/loop-start…’)
    #2 /srv/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(649): woocommerce_product_loop_start()
    #3 /srv/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop()
    #4 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php(472): WC_Shortcode_Products->get_content()
    #5 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(287): WC_Template_Loader::unsupported_theme_shop_content_filter(”)
    #6 /wordpress/core/5.4.2/wp-includes/plugin.php(206): WP_Hook->apply_filters(”, Array)
    #7 /srv/htdocs/wp-content/plugins/wpappninja/inc/functions/shortcodes.php(1623): apply_filters(‘the_content’, ”)
    #8 /srv/htdocs/wp-content/plugins/wpappninja/themes/wpappninja-full/page.php(35): wpappninja_show_content(Object(WP_Post))
    #9 /wordpress/core/5.4.2/wp-includes/template-loader.php(106): include(‘/srv/htdocs/wp-…’)
    #10 /wordpress/core/5.4.2/wp-blog-header.php(19): require_once(‘/wordpress/core…’)
    #11 /wordpress/core/5.4.2/index.php(17): require(‘/wordpress/core…’)
    #12 {main}
    thrown in /srv/htdocs/wp-content/themes/xstore/woocommerce/loop/loop-start.php on line 26

    Thanks
    Jamie

    27 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 30, 2020 at 13:25

    Hello,

    Thank you for using our theme and take our apologies if you faced any issues.

    I suppose that it could be related to compatibility with Wpappninja plugin but we need to study it in more detail. Could you, please, provide us with temporary WP Dashboard and FTP access to your site?

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 1, 2020 at 02:17

    Here you go

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 1, 2020 at 12:35

    Hello,

    1) Provide us also with the WP Dashboard user and pass. We need to log in to your backend.
    2) Check the host that you provided. We can’t connect to your server http://prntscr.com/t9r2ht
    3) Describe your actions step by step to reproduce the issue. Provide screenshots of the problem for better understanding. Do you have the mentioned issue only when app is connected? Don’t you have them once disable the app? We need to understand what actions call the mentioned error to fix it.

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 2, 2020 at 06:39

    Not sure why you cannot access the ftps server as I can here with that info. I will recreate the the info.

    In terms of the issue itself, I am not sure about the app plugin I am just going by what the app plugin developer is saying.

    As mentioned I have the products on the order page setup to show as a grid. (https://bigredspoutine.com/online-order/) When the problem happens on the website product page does not load in a grid it changes to a list although grid is still selected. When this happens the iOS and Android app which just load the website show a wordpress critical error message. When I clear the cache everything returns to normal for a short period and the site and the app load correctly.

    Also when the grid turns to a list on the site the individual product pages change layouts as well from the product image on the left and the product info to the right of the image which is as it should be it instead switched the product image on the top and info below but all left justified.

    I hope this clears things up. Theres not much else to say but something is causing the layout change and it causes the app to glitch at the same time.

    Please contact administrator
    for this information.
    Avatar: Jamie
    Jamie
    Participant
    July 2, 2020 at 06:44

    Please look at the image urls in the private section. I have labeled them CORRECT and WRONG this way you can see the difference.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 2, 2020 at 15:43

    Hello,

    Contact your hosting provider and clarify FTP host. We can’t connect to host that you provided http://prntscr.com/t9r2ht

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 2, 2020 at 20:06

    I am not sure why you can’t connect. I have uploaded a video in the private section as well as a new password that demonstrates that it works just fine.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 3, 2020 at 14:19

    Hello,

    You did not mention port in the first message. Once we added the port we are able to connect to your server.

    We tried to reproduce the issue and get the error but we can’t. Once we visit the site everything is ok https://gyazo.com/2bc5ac2df658c61d3253e83da7ccae98 and there are no errors in the error logs after clearing http://prntscr.com/tb5l9u
    So, it looks that error appears when something very specific was made. Can’t install your App because we are from another country and it’s not allowed in our region. Maybe your app disables theme functions in some way? We don’t have an idea until we don’t understand which of your actions generate those errors.

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 3, 2020 at 21:12

    If you login to the WordPress admin and go to the WPMobile.App section and click on preview you can load the app there it happens on that as well.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 4, 2020 at 15:55

    Hi,

    Our technicians will be able to take a closer look at it on Monday, due to the weekend. Please wait.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 6, 2020 at 14:48

    Hello,

    It looks that your app calls to woocommerce template files from the xstore/woocommerce but did not call the additional theme-functions.php file from subdirectory that is required for the customized templates of the woocommerce from our theme. We tried to find the way to call our functions but with no luck. Could you, please, ask the app developer about any filter or something to call the additional theme-functions.php in addition to using woocommerce templates from our theme if their app calls to these xstore custom templates?

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 6, 2020 at 17:40

    Ok I sent your request to him. Will wait for his response.

    Thanks
    Jamie

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 6, 2020 at 17:44

    Thank you.

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 8, 2020 at 07:04

    Hi. This is what he said. Seems to be a back and forth thing. I have included his response and email so you can ask him directly.
    “This is odd because the app do not use the xstore theme but a custom theme.

    Can you ask if it can be a xstore plugin that try to load a theme function (and fail because the theme is not xstore) ?“

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 8, 2020 at 15:04

    Hello,

    We have visited your site using mobile device, desktop, your mobile app, visited different pages. We did not face any error on the frontend. Also, I don’t see any error in the error logs at this moment. I don’t understand what should I do to generate those errors and frontend issues. Could you send us the video of your actions before you get the error?

    Regard

    Avatar: Jamie
    Jamie
    Participant
    July 8, 2020 at 17:42

    This is very frustrating. I have had over 10 app users say they have had this issue. Basically every time I use the site or the app the issue happens. Maybe it’s when multiple people are on the site or app at the same time. There is no specific thing that happens to trigger it. Just looking around at the items in the WooCommerce portion of the site. I picked up my phone and the app did it right away. So not sure why you can’t get it to happen? Maybe only apple users? I will send a video later.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 8, 2020 at 19:20

    Hello,

    Ok. We’ll be waiting.

    Regards

    Avatar: Jamie
    Jamie
    Participant
    July 9, 2020 at 03:02

    Hi not sure if this posted twice if so sorry. I refreshed the page and did not see so not sure if it did or not.

    I have attached the link to the video. Please note that the start of the video is of the site not working correctly as you should see. I did this as it breaks randomly so it would be hard to make a quick short video. I did not video the app as I don’t have another camera but I figure if the site is messing up thats the culprit and if that gets fixed the app will probably be fixed as well. I have tried this on mac, iPhone and multiple types of browsers. I will try windows later and see if its happening there as well.

    Please contact administrator
    for this information.
    Avatar: Jamie
    Jamie
    Participant
    July 9, 2020 at 07:23

    Ok my host narrowed it down to the mobile app plugin. The app guys said it’s the theme but am not sure about that.

  • 1 2
    Viewing 20 results - 1 through 20 (of 28 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.