Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1355490

    Hi I have a problem with this site where the product pages are not showing and I can’t access the backend.
    I have:
    Disabled all plugins one at a time via FTP
    Uploaded the most recent version of Enfold
    Please can you take a look and see if you can see the problem

    #1355513

    Hey fanlokbun,

    I can’t load the site at all, it’s only displaying a blank white page. Maybe you could try restoring a backup?

    Best regards,
    Rikard

    #1355526

    It is there try following this link to a product page. Might need a refresh. I could do with your insight.

    #1355542

    Hi,

    Thanks for that. That page loads, but only the header and title bar. There are no error messages either which could indicate what is going wrong. If you have a recent backup, then I would recommend that you revert to that.

    Best regards,
    Rikard

    #1355608

    Hi Rikard,
    I have tried restoring but I get critical errors. The host 123-reg say the problem is with the child theme I created for Enfold. Please can you look at my child theme functions,php code and see if it has errors. Apparently it is line 23. My child theme is called Orion I.T. Theme:
    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */
    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    /* Add Custom class to all ALB elements */
    add_theme_support(‘avia_template_builder_custom_css’);

    /*
    Woocommerce 3.0.0 Compatibility Fix
    Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
    */
    global $woocommerce;
    if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }
    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }
    }

    add_action( ‘woocommerce_single_product_summary’, function() {
    echo ” – FREE SHIPPING IN THE UK!”;
    }, 10);

    #1355609

    Sorry forgot to mention. All plugins are disabled except Woocommerce.

    #1355623

    Hi,

    You could try to remove all your customisations, then add them back one by one, to see which function is causing the problem. I think this is something you shouldn’t need at all:

    /*
    Woocommerce 3.0.0 Compatibility Fix
    Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
    */
    global $woocommerce;
    if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }
    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }
    }

    Best regards,
    Rikard

    #1355626

    Your a star Rikard.
    It was that piece of code causing the problems.
    Many thanks
    You can close this ticket

    #1355661

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Product pages not showing and can't access wp-admin’ is closed to new replies.