[products] shortcode returning empty div
-
I have a featured box on my site’s front page under the header “Store highlights”. After some updates, it goes blank, returning only an empty div:
<div class="woocommerce columns-4 store-highlights"></div>
This is the shortcode I use:
[products limit="-1" columns="4" visibility="featured" class="store-highlights"]
If I remove the featured status (star) from one product, it starts working again until next random update. Not all updates break it so it’s quite annoying to just sometimes notice that the front page is broken again.
Any ideas why this happens? WooCommerce status information below.
### WordPress Environment ### WordPress address (URL): https://snowdaledesign.fi Site address (URL): https://snowdaledesign.fi WC Version: 5.8.0 REST API Version: ? 5.8.0 WC Blocks Version: ? 5.9.1 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.7.2 Log Directory Writable: ? WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache/2.4 PHP Version: 8.0.11 PHP Post Max Size: 512 MB PHP Time Limit: 120 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.20-MariaDB Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.8.0 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (20) ### Polylang: by WP SYNTEX – 3.1.2 Advanced Custom Fields PRO: by Delicious Brains – 5.10.2 Advanced Custom Fields: by Delicious Brains – 5.10.2 Classic Editor: by WordPress Contributors – 1.6.2 Jetpack: by Automattic – 10.2 Product Open Pricing (Name Your Price) for WooCommerce: by WP Wham – 1.7.0 Protect schema.org markup in HTML editor: by Ecwid Team – 0.4 Redirection: by John Godley – 5.1.3 Remove Author Pages: by Vinicius Pinto – 0.2 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.15 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.9 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Stripe Gateway: by WooCommerce – 5.6.2 Sendinblue - WooCommerce Email Marketing: by Sendinblue – 2.0.30 WooCommerce: by Automattic – 5.8.0 Yoast SEO: by Team Yoast – 17.3 WP External Links: by WebFactory Ltd – 2.50 WP Mail Logging: by Wysija – 1.9.9 WP-Polls: by Lester 'GaMerZ' Chan – 2.75.6 WPC Composite Products for WooCommerce: by WPClever – 4.0.3
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[products] shortcode returning empty div’ is closed to new replies.