Tagged: x
-
AuthorPosts
-
April 13, 2016 at 1:11 pm #880539
bbddmacParticipantHi,
My site is showing Hook errors. However, it looks like everything is correct in the wc/singleproduct.php page. I believe that the error if coming from X. Please assist
When in a single product page I get no (Zero) errors. But when in a Category pages I get these Errors:
woocommerce_before_single_product_summary hook is missing in the woocommerce templates of your theme.
woocommerce_single_product_summary hook is missing in the woocommerce templates of your theme.
woocommerce_before_add_to_cart_button hook is missing in the woocommerce templates of your theme.
woocommerce_after_single_product_summary hook is missing in the woocommerce templates of your theme.
woocommerce_share hook is missing in the woocommerce templates of your theme.thank you,
DM
April 13, 2016 at 6:09 pm #881071
bbddmacParticipantIn trying to Fix the Hook errors I altered the Xchild theme. Once I did this everything went white. the page shows nothing . I cant even login WP. Any ides?
bulletinzoom.com
DM
April 13, 2016 at 6:21 pm #881083
bbddmacParticipantThis is the file I changed::
<?php
// =============================================================================
// FUNCTIONS.PHP
// —————————————————————————–
// Overwrite or add your own custom functions to X in this file.
// =============================================================================// =============================================================================
// TABLE OF CONTENTS
// —————————————————————————–
// 01. Enqueue Parent Stylesheet
// 02. Additional Functions
// =============================================================================// Enqueue Parent Stylesheet
// =============================================================================add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );
// Additional Functions
// =============================================================================<?php
April 13, 2016 at 6:26 pm #881088
bbddmacParticipantThis reply has been marked as private.April 13, 2016 at 10:47 pm #881346
LelyModeratorHi DM,
We’re sorry you’re having this issue.
A white screen usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by openingwp-config.phpand adding
define( 'WP_DEBUG' , true );just above/* That's all, stop editing! Happy blogging. */For example:define('WP_DEBUG', true); /* That's all, stop editing! Happy blogging. */When you revisit the page with the white screen, you should have some error output describing the issue in more detail.
April 14, 2016 at 1:45 am #881584
bbddmacParticipantHi,
Thank you for your assistance. I enabled Wp debug mode by adding the “true” script to the wp-config.php file but I see no change in the site. Please advise.thanks,
DMApril 14, 2016 at 5:39 am #881949
Rue NelModeratorHello DM,
It seems that your WP files were corrupted. I ended up re install WordPress core and Cornerstone plugin. What seems to be the problem or could please tell us what happen?
Please let us know how it goes.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-880539 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
