Hi,
When we pace a functions.php in the child theme the websites breaks (goes blank).
Any idea what might be causing this?
Hey hotspot!
There might be an error in your code. Can you please post FTP logins and WP admin logins here privately so we can look into it?
Best regards,
Yigit
Hi Yigit,
We copied the functions.php from the child theme you offer as a download. This ’empty’ file does not break the website. But if we place code in it, it does.
We copied this code in it and the website breaks:
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug()
{
return "debug";
}