WooCommerce Filter View repeats ingredients when you select a filter variable
Hi,
My woocommerce shop template looks fine when filter variables aren't selected - but once you select variables, it repeats the shop contents twice. This happens for all variables, with no obvious explanation. (The product pages aren't duplicated, and the shop template doesn't have two shop 'sections'.)
Can you please help me figure out why this is happening?
Thanks!
Hillary
Comments
Hello,
Please turn off all of the plugins, refresh your cache, and check if the problem persists.
Moreover, if you use a child theme, switch to parent, and recheck it.
Thanks
Hi,
I tried your suggestions above, and the issue persists.
I deactivated all plugins except WooCommerce, turned off my child theme, updated Betheme & WooCommerce, and refreshed the cache, but the behavior remains the same.
What seems to be happening is that every time I click a filter button, the product loop is run with modified values, but it contains products from the previous loop. The post query gets bigger and bigger, instead of replacing the previous set of products returned.
I have sent my credentials through the muffin forum portal, so you can easily log on and try to diagnose the issue.
https://floatingptstg.wpenginepowered.com/filter-view/?filter_categories=botanicals,brands&query_type_categories=or&paged=1&orderby=menu_order
Thanks,
Hillary
Thank you for sending access, but to check that, we need FTP access as well.
Please send it as you did with WP access.
Thanks
Hi Phil,
Thanks for taking a look at the above issue. You should have my FTP access credentials in the portal.
I noticed another bug while troubleshooting. The muffin builder interface wouldn’t show up after I updated BeTheme/Wordpress and removed my child theme. See the log below:
Is there a change to the function call has_weight()? This error didn't occur in prior versions, I'm not sure if it popped up because of the changes to WC or BeTheme.
I left the site with the BeTheme theme activated, but if you need to compare the two, the child theme we are using is called "Artemas Child." Activating that child theme makes the MuffinBuilder interface work again.
The child theme also modifies the margins and text placement on the WooCommerce filter view page, but this has no bearing on the loop issue described above. The loop issue persists, whether the child theme or BeTheme theme is active.
Sorry, but FTP login credentials you sent are not working:
Are you sure that they are correct?
Best regards
Hi Phil,
Please try the credentials I sent you again. It looks like you are using the wrong port number - the correct number is "2222"
Thanks,
I used both with 2222 and 22 and neither worked.
Best regards
Hi Phil,
Apologies for the delay here while I was traveling. I don't know why the login wasn't working for you, but I reset the password and I resubmitted the login credentials it through the forum portal.
I tested these login credentials on multiple different computers and they worked for me!
I really appreciate anything you can do to help me troubleshoot these issues, as my website launch date is coming up in the next few weeks.
Thanks again,
Hillary
Thanks!
Hi,
Thanks so much for resolving the Woocommerce issue! However, the the muffin builder issue persists.
The Muffin Builder worked this morning for a few hours, then suddenly stopped working again (similar to the ‘weight’ php issue we were encountering, described above.) When I try to load a page in the builder, it freezes on this:
However, unlike last time, it isn’t throwing the PHP ‘weight’ error in the log that I sent a screenshot of in a prior message - or any other error. I tried clearing the cache, but nothing fixed the issue except reverting to the backup from the morning. Problem is, I did a lot of work between the backup and when the issue started, so I would like to save it (and also figure out why this keeps happening.)
Can you help me figure this out? I really appreciate your prompt help!
Thanks again,
Hillary
Hi,
Please hold off on troubleshooting this particular issue. I reverted to a previous backup where muffin builder was still working, and have completed a substantial amount of work since then. I don't know why it happened, but it has not happened again since.
I would like to try to salvage the 6+ hours of work from the day when muffin builder stopped working. Is it possible for me to go into the backup version where muffin builder stopped working and export page code from a dozen pages, if I cannot open muffin builder?
Thanks,
Hillary
You would have to create a copy of your website with a Duplicator plugin on a staging domain, and use Export/import feature to copy the content.
https://wordpress.org/plugins/duplicator/
https://support.muffingroup.com/how-to/how-to-set-up-betheme-staging-site/
https://support.muffingroup.com/how-to/how-to-import-export-muffin-builder-content/
Best regards