ScottSt.
Forum Replies Created
-
Billie Holiday Tames the Helpful? Hedgehog
This problem persisted until August 21 then …
After installing the newly released version of WordPress (4.3) , (which included a Database Update) the original shortcodes for the Cart, Checkout and My Account pages again began loading the_content(). This happened without requiring any other changes to pre-update versions of files or modifications to markup or settings.
As noted earlier, plugin conflicts, theme problems, and less than current versions of WordPress and WooCommerce had all been eliminated as possible causes prior to the original post.
My configuration at all times met the published requirements provided with the 2.4 plugin (I have PHP = 5.5.3, MySQL = 5.5.33, WordPress 4.2.4, all of which exceeded the minimums).
I don’t have any answers as to the cause. Maybe a database file in the local install had been damaged and it was reset during WP 4.3 update?
Otherwise it looks as if something among the spate of WooCommerce and WordPress updates may have been involved. Why did WooCommerce need to publish four additional point releases within 4 days of 2.4? Why was WordPress 4.3 released so soon after 4.2.4 and in the midst of the roll-out of the Woo update? Couldn’t WooCommerce have waited until after the release of WP 4.3, to unleash the Hedgehog?
Fortunately the problem was confined to a test site on a local staging server. The deployment on the live site, after things were functioning locally, went smoothly.
Thanks for responding.
From the outset, beginning six months ago with 2.3.3, all page edits have been made outside WordPress. For the cart page I have this template:
<?php /* Template Name: Woo Cart <!------------------------------------------------> <!--//// Alive and Well Site 1.0.2 ////--> <!--//// wc_cartTmplt.php for Store ////--> <!------------------------------------------------> */ ?> <?php //include header.php file for internal page layouts get_header(); ?> <?php include(TEMPLATEPATH . '/sidebar2.php'); ?> <div class="content"> <div class="aw-store-checkout"> <h2 class="aw-store-checkout-title">Alive and Well Store</h2> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); the_content(); endwhile; endif; ?> </div> </div> <?php //retrieves footer markup from footer.php file get_footer(); ?>
The text edit box on the Cart page in WordPress then only contains the shortcode:
[woocommerce_cart]
It appears just like this in both the Visual and Text tabs. It shows up in Word Count as ‘1’. (I tried deleting and re-inserting this shortcode in Page editor, Text tab. Also creating an entirely new page. Then updating the page and resetting the page link in Settings>Checkout.)In the WP Page editor, the Woo Cart template is selected in Page Attributes, with
(no parent)
, and an order value of ‘0’This approach had been working fine through 2.3.13, and still is on the live site. It’s baffling.
Even with all other plugins deactivated — and this is my default testing mode for 2.4.x —
the_content()
still does not load into the Cart page – or Checkout or My Account. This is true with the 2.4.4 updated installed as well.