website broken after installing directory

Hello
I've got this fatal error instead of the front site after installing directory :
Fatal error: Call to undefined function get_page_template_slug() in /homez.548/villeset/www/wordpress/wp-content/plugins/directory/core/main.php on line 148
Any idea ?