-
AuthorPosts
-
June 25, 2021 at 5:53 pm #1307470
Hello Kriesi Team,
I’m using Asset Clean Up Plug-In to deactivate unused Code for Speed Optimization. I use it also in other Websites in combination with Enfold and everything works fine.
Now I’m starting a new Project on a Test-System with new WordPress, new Enfold (& -Child-Theme, also with API), latest Plug-In Versions.When I deactivate unused .js everything works, but when I deactivate CSS-Files or even 1 File I (100%) don’t use, I get everytime the same Error in the Footer (Front-End):
Warning: Creating default object from empty value in /…/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 871
Do you have ever seen this or do you know why this is happening? I would be very happy if there is a solution.
Stefan
June 27, 2021 at 4:50 am #1307566Hi Stefan,
We haven’t heard of this problem before unfortunately. Could you post details in private to where we can see and reproduce the problem you are having please?
Best regards,
RikardJune 29, 2021 at 11:31 am #1307910Hello and thank you for your answer.
I moved the page to another test-domain and the error ist still there. In the privat content Box are the Details.
I deactivated Google Maps .css on the site (no use), where the Footer PHP Warning is:
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/google_maps.css- This reply was modified 3 years, 4 months ago by ronellenfitsch.
June 29, 2021 at 12:09 pm #1307919Hello Rikard,
I found the solution.
I had to deactivate merging of CSS/Javascript in Enfold-Preferences (Performance).
Now it works.Thank you!
June 29, 2021 at 12:47 pm #1307924Sorry, but now I have the next Problem.
When I deactivate merging of Javascript in Enfold-Preferences (Performance) the LayerSlider ist not running smoothly.
Where can this come from?
Greetings
Stefan- This reply was modified 3 years, 4 months ago by ronellenfitsch.
June 29, 2021 at 4:12 pm #1307965Okay, now I tried another thing. I turned off “Javascript Optimization” in Autoptimize, so without any Optimization the Home-Slider is running correct
(Enfold-Preferences > Performance > Javascript & CSS merge is also deactivated). The PHP Warnings in the Footer are also gone.Now I need to find another way for the Javascript Optimization (for example WP Rocket).
Sorry for spamming and thank you for your help.
StefanJuly 1, 2021 at 6:59 am #1308226 -
AuthorPosts
- You must be logged in to reply to this topic.