Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #923194

    I have resorted to logging a new thread in the hope that someone responds because after repeated attempts to elicit a response from @Yigit regarding my previous thread that he dealt with, I have heard nothing. I appreciate you are busy guys, but I have paid for support and the supposed fix has not been completed and my staging site is still not functioning correctly.
    Whilst @Yigit replacing the content of a file wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php with another managed to fix the now infamous “blank page” syndrome meaning i didnt have to rollback to 4.2.4 where everything works fine and dandy. I have since checked my staging site to see that on the product pages where additional css has been applied by our web developer that the tab element used on those pages and other aspects of the layout it was meant to affect they now do not show correctly.
    If i choose to show the pages “unminified” all appears normally. I read somewhere on the forums that Enfold was now applying its own minification or something like that which was potentially knocking out those from previous development. Is that true?
    Anyway, I have downloaded the rather hastily issued 4.2.6 from Themeforest and updated via FTP to ensure full overwrite, but this also appears to have had no effect whatsoever, even though according to the changelog a “fix” for css/js was part of it.
    All my stuff from my previous ticket/thread is in PVT content. Please, can someone investigate this for me?

    #923996

    Still no response from anyone? I can see someone logged in using the user id set for Enfold Support this morning but no-one replied.
    :( not happy

    #924051

    Hi,

    Just to be sure – and sorry for going through a loop but if ” you choose to show the pages “unminified” all appears normally “, can you please leave it like that
    while we work on any updates to make sure minification is working properly everywhere please?

    Best regards,
    Basilis

    #924142

    I only know how to do that on a page by page basis not for the whole site. Is there a way?

    #924485

    Hi craigriches,

    Can you try to disable Enfold’s minification and leave the ones that you’re using on?
    Here is how to disable it:

    
    add_filter('avf_merge_assets', function() {
            return 'none';
    });
    

    Best regards,
    Victoria

    #924521
    This reply has been marked as private.
    #924852

    Hi craigriches,

    Sorry for the confusion. First off please try it in your child theme functions.php file, if that doesn’t work then please try adding to the parent theme functions.php file. Do not add it to functions_enfold.php. You can try the code at the very bottom of each file, just before the ending PHP tag, if there is one.

    ?>

    Best regards,
    Rikard

    #933680

    Whilst applying the disabling to Enfold’s minification using the code in the child theme functions.php in my staging site has worked. It would appear that doing the same in the live version of the site does not work.
    I am using Hummingbird Pro on both sites. I can empty the cache and the display of elements will appear, but as I go through an check new product pages they start to show up as not correct.
    If I choose to show them UnMinified from the Dashboard menu bar selector, they appear fine.

    • This reply was modified 6 years, 9 months ago by craigriches.
    #934048

    After further investigation, it would appear that there is also still a problem on my Staging website too.

    My apologies UPDATE: it would appear if product pages are accessed on the Staging site via
    https:// …… the minification problem still exists
    However, if you access via http:// …. then the problem is not there.

    See links in PVT content

    • This reply was modified 6 years, 9 months ago by craigriches.
    #935007

    Hi,

    From what we read it seems that you have big issues with the way the installation and the options are setuped.
    I would suggest to consider fixing that by hiring someone to help you with the process and to identify all the issues properly.

    Thank you for your understanding.

    Best regards,
    Basilis

    #935246

    Thank you @Basilis for your reply. I don’t see any record of you logging into either site to actually take a look from the position of paid-for support, so I presume you are going purely upon the thread history and the standard issue of “how to switch off Enfold’s minification”. Bit disappointing.

    I have disabled Hummingbird for now which seems to rectify the problem (at least temporarily), until such time as the causative factor is actually found. I sincerely hope that it is nothing to do with the content of the Enfold 4.2.6 update. I guess further investigation will reveal..

    • This reply was modified 6 years, 8 months ago by craigriches.
    #935924

    Hi craigriches,

    The code I gave you before was incomplete as it turned out, sorry about that. Please try the code below:

    
    add_filter('avf_merge_assets', function() {
        return array('css' => 'none', 'js' => 'none');
    });
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #936007

    Hi @Victoria,
    If this code is placed into the functions.php file it results in a 500 server error and page/site will not load. Remove it, and everything comes back just fine.
    I also noticed when placing the advised code into the file a Syntax error notice unexpected ‘=’ , expecting ‘)’
    this was on the following line – return array(‘css’ => ‘none’ , ‘js’ => ‘none’);

    • This reply was modified 6 years, 8 months ago by craigriches.
    #936230

    Hi,

    Please do not copy from the email, but open the forum and copy from the forum.
    That should make it work properly after! :)

    Best regards,
    Basilis

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.