Hello,
I am having issues with getting access to my clients front page after including the contact from in the avia layout builder.
I have turned on the debugger and have gotten some information – but i can not figure out what the error is or how to fix it.
I can see that it is probably something with the theme, cause when i change themes the issue disappears and i can again access the front page.
I am working through localhost and with an enfold child theme. I will attach the debug findings.
Hi angelo-dose,
Can you tell us what version of Enfold of version you are using?
Please try to update to the latest version Enfold (4.8.6.5) which contains a fix for that issue.
Best regards,
Nikko
I am already using version: 4.8.6.5. So that should not be the issue sadly.
I have just now tried debugging with a plugin. It more or less says the same, but maybe it helps. I will attach it here.
Hi angelo-dose,
Please go to /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.php on line 926:
Avia_Element_Templates()->set_locked_attributes( $item['attr'], $this, $this->config['shortcode_nested'][0], $item_def, $locked, $item['content'] );
then before that line of code add this:
if ( !is_array($item['attr']) ) {
$item['attr'] = array();
}
Let us know if this helps.
Best regards,
Nikko
It did help. Thank you for your help!