-
AuthorPosts
-
April 28, 2018 at 10:20 am #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 322Fatal 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
April 30, 2018 at 11:48 am #949008Hey sstaricco,
Please go to the theme options > import and delete the font-awesome icons.
Here is a thread for you to considerIf you need further assistance please let us know.
Best regards,
VictoriaApril 30, 2018 at 10:07 pm #949240Hi 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.
May 3, 2018 at 10:40 am #950634Hi,
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,
IsmaelMay 12, 2018 at 2:10 pm #955746I 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 regardsMay 12, 2018 at 10:00 pm #955859Hi,
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,
MikeJanuary 2, 2019 at 8:42 pm #1049367Hi, 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 !January 3, 2019 at 7:14 am #1049504 -
AuthorPosts
- You must be logged in to reply to this topic.