Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #948300

    Hi, I have just bought Enfold and tried to use it on a new project I have started in XAMPP.
    I get the following error messages on the footer:
    Warning: file_get_contents(C:\xampp\htdocs\idmarketing.com.ar/): failed to open stream: No such file or directory in C:\xampp\htdocs\mydomain\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php on line 322

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in C:\xampp\htdocs\mydomain.com.ar\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php:329 Stack trace: #0 C:\xampp\htdocs\mydomain.com.ar\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php(275): aviaAssetManager->get_file_content(”, ‘js’, false) #1 C:\xampp\htdocs\mydomain.com.ar\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php(124): aviaAssetManager->get_file_data(‘js’, ‘avia-footer-scr…’, Object(WP_Scripts), Array) #2 C:\xampp\htdocs\mydomain.com.ar\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php(107): aviaAssetManager->merge(‘js’, ‘avia-footer-scr…’, Array) #3 C:\xampp\htdocs\mydomain.com.ar\wp-includes\class-wp-hook.php(286): aviaAssetManager->minimize_footer_scripts(”) #4 C:\xampp\htdocs\mydomain.com.ar\wp-includes\class-wp-hook.php in C:\xampp\htdocs\mydomain.com.ar\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php on line 329

    Also, for example, if I use the preloader, the page will never load (the preloader will spin for ever).

    I tried reinstalling WordPress, the theme and even XAMPP and didn’t find any solution.

    Thanks

    #949008

    Hey sstaricco,

    Please go to the theme options > import and delete the font-awesome icons.
    Here is a thread for you to consider

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

    #949240

    Hi Victoria,
    I don’t find an option to delete the font-awesome icons where you mention. Please, could you explain me more?

    I tried applying this code in functions:

    add_filter(‘avf_merge_assets’, function() {
    return ‘none’;
    });

    But I get the folowing error:

    Warning: Illegal string offset ‘css’ in C:\xampp\htdocs\idmarketing.com.ar\wp-content\themes\enfold\includes\helper-assets.php on line 51

    Warning: Illegal string offset ‘js’ in C:\xampp\htdocs\idmarketing.com.ar\wp-content\themes\enfold\includes\helper-assets.php on line 52

    If I disable merging with this code in functions:

    add_filter(‘avf_merge_assets’, function() {
    return ‘none’;
    });

    I get the following error message:

    Warning: Illegal string offset ‘css’ in C:\xampp\htdocs\idmarketing.com.ar\wp-content\themes\enfold\includes\helper-assets.php on line 51

    Warning: Illegal string offset ‘js’ in C:\xampp\htdocs\idmarketing.com.ar\wp-content\themes\enfold\includes\helper-assets.php on line 52

    So, what is causing the problem?

    Please I need a solution ASAP.

    Thanks

    • This reply was modified 6 years, 7 months ago by sstaricco.
    #950634

    Hi,

    What is the version of the theme in your installation? Please make sure that it is running on version 4.3.1. You don’t need the filter anymore because you can disable the compression feature in the Enfold > Performance panel.

    Best regards,
    Ismael

    #955746

    I have exactly the same error that sstaricco has.

    After installing Enfold theme in local I receive:

    Warning: file_get_contents(C:\xampp\htdocs\wordpress/): failed to open stream: No such file or directory in C:\xampp\htdocs\wordpress\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php on line 322

    I¡m running Enfold Version 4.3.1
    I also tried reinstalling XAMPP, WordPress and the theme without succes!
    Can you help me?
    Best regards

    #955859

    Hi,
    Please try going to Enfold Theme Options > Performance > File Compression and disable css & js file merging and compression.
    The error is because your merged files have not be created yet, after you have imported a demo or created some content and saved the settings the files will be created and you can switch the settings on.

    Best regards,
    Mike

    #1049367

    Hi, sorry if I write here, but I’m trying to import my live site locally using xampp
    Everything seems correct on my pc but I found this error when I go to install the database in localhost ….
    Start of unexpected statement. (near “NSERT” at position 0)
    Unrecognized statement type. (near “INTO” at position 6)
    and I think the same problem is also present on the Live site.

    as you can ‘notice missing a letter “i” on Insert .. I think it could be the error that causes the problems ..
    but I do not know how to modify the database table?
    Can you help me?
    Thanks a lot !

    #1049504

    Hi Sachasilvestri,

    I’m sorry for your problem, but we can’t help you out with local issues unfortunately. Maybe you could try to import your site using a plugin instead?

    Best regards,
    Rikard

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