Blank page when I add uikit components


Hi, I have latest beans theme and child theme. When I add this snippet to functions.php


// Adds UIkit components.
add_action( 'beans_uikit_enqueue_scripts', 'my_function_name' );

function my_function_name() {

  beans_uikit_enqueue_components( array( 'flex, overlay' ) );
 beans_uikit_enqueue_components( array( 'tooltip' ), 'add-ons' );

}

the page goes blank


Hmmm it's fixed. I have deactivated plugin and reactived them again and now the site is fine again.

Bas

Write a reply

Login or register to write a reply, it's free!