Hi,
I’ve got a strange issue with a site using Enfold.
My home page has an additional field that seems to be duplicating the code (see attached grab) which looks to be breaking my home page.
https://screencast.com/t/RsSE39gky
I’ve inspected the element and it shows an ID of _aviaLayoutBuilderCleanData field
Any idea what’s causing it?
Thanks
Phil
UPDATE:
This wasn’t the cause of the issue. I’ve fixed that now. However, how can I hide or remove that field that shows all the short codes?
Thanks
Phil
Hi Phil,
That is debug mode, I’m guessing you have turned that on at some point? If you want to turn it off then please comment out or remove this bit of code, likely in your functions.php file:
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}
Best regards,
Rikard
Hi Rikard,
I enabled logging to try to resolve a different issue which was being caused by PHP 7.1. That’s resolved and all ok,
However, I still see the other field I mentioned
My home page has an additional field that seems to be duplicating the code (see attached grab) which looks to be breaking my home page.
https://screencast.com/t/RsSE39gky
I’ve inspected the element and it shows an ID of _aviaLayoutBuilderCleanData field
How can I hide that?
Thanks
Phil