-
AuthorPosts
-
April 15, 2019 at 5:12 pm #1091017
Hi
I have noticed that there is an error code at the bottom of every page of my site.Warning: Creating default object from empty value in /home/mysite/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 632
I give the full error in private content. Plus my site details.
Running WordPress 5.1.1 and Enfold 4.5.5
Can you help please?
Thanks
Tia
April 16, 2019 at 8:38 am #1091293Hey Tia,
Do you have wp_debug turned on in your installation? If so then please try to turn it off: https://codex.wordpress.org/WP_DEBUG
Best regards,
RikardApril 16, 2019 at 12:20 pm #1091396Hi Rikard
The site is a number of years old and has not had this error message until this week. I have not made any changes on the hosting side of things.
I followed the link you gave and read up some other resources about this and it would appear to suggest I should edit the wp-config.php file – this sounds scary and not something I have done before. I can’t see how this error could have just appeared.
However, I did download the the wp-config.php file, opened it in Dreamweaver and searched for DEBUG, and found that it is set OFF.
The line says – define(‘WP_DEBUG’, false);Any other suggestions?
Many thanks for your help.
Tia
April 16, 2019 at 6:14 pm #1091616Same error here too. I got that line in the english language of a client site.
Any suggestion?
It’s pretty urgent.
Thank youApril 16, 2019 at 8:43 pm #1091667Anyhow if you search on google
Warning: public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 632you will see how many website using enfold are affected by this issue.
April 17, 2019 at 5:00 am #1091745Hi Tia,
Which version of PHP are you running on the site? We recommend 7.1 or higher.
Best regards,
RikardApril 17, 2019 at 5:00 am #1091746Hi SurigliaStudio,
Please open a new thread and include admin login details in private so that we can have a closer look at your site.
Best regards,
RikardApril 17, 2019 at 8:46 am #1091862Hei Rikard,
here the new post
please let me know
THank you
AApril 17, 2019 at 12:55 pm #1091982Hi Rikard
The php version is 7.2
I see from SurigliaStudio’s thread that he identified an issue with SG Optimiser.
I disabled the “Minify CSS Files” and “Combine CSS Files” in the SG Optimiser plugin and the error disappeared.
I contacted SiteGround and told them that when I run a performance check on my site (neilpatel.com for example) it recommends that I minify CSS and Combine CSS files and if I re-enable this option in SG Optimiser the error will return.They said “I’m afraid that is correct, where the only option, is the theme developer is to release a fix with their next update”
Do you agree that a fix in enfold is required? I would like to improve the performance of my site and need to know if I should look for another option to SG Optimiser or wait for an enfold fix.
Thanks
TiaApril 18, 2019 at 5:01 am #1092241Hi Tia,
Thanks for the update, though we can’t be responsible for what third party plugins does to your site. Optimising sites for speed can sometimes be difficult and it’s not uncommon that things break when caching or minifying resources. I don’t think this is bug with either the plugin or the theme, I would suggest that you try turning off the functionality which is breaking things and leave it like that, or try a different plugin.
Best regards,
RikardApril 18, 2019 at 10:08 am #1092366Hey Rikard,
yeah i did that. What is really strange is that on italian language even with the plugin working with the Combine CSS Files it works flawlessly and it’s quite strange that it brokes only on english language.
I know you cannot be responsible for that i will also try to speak to Siteground developer to check if something on their side is changeable.
CheersApril 19, 2019 at 6:54 am #1092594Hi,
Thanks for the update, we’ll leave this thread open in case you should need any further help from us.
Best regards,
RikardFebruary 24, 2021 at 9:49 pm #1283523Hi,
OK for me with PHP 7.4 >> 7.3
If it helps semone.February 26, 2021 at 7:10 pm #1283942Hi ppi37,
Thank you for sharing :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.