Fatal error: Uncaught Error: Call to undefined function wp_get_upload_dir() in /homepages/3/d611372760/htdocs/homepage/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:316 Stack trace: #0 /homepages/3/d611372760/htdocs/homepage/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php(114): WPML_LS_Templates->get_uploads_path() #1 /homepages/3/d611372760/htdocs/homepage/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php(41): WPML_LS_Templates->init_available_templates() #2 /homepages/3/d611372760/htdocs/homepage/wp-includes/plugin.php(525): WPML_LS_Templates->after_setup_theme_action('') #3 /homepages/3/d611372760/htdocs/homepage/wp-settings.php(376): do_action('after_setup_the...') #4 /homepages/3/d611372760/htdocs/homepage/wp-config.php(89): require_once('/homepages/3/d6...') #5 /homepages/3/d611372760/htdocs/homepage/wp-load.php(37): require_once('/homepages/3/d6...') #6 /homepag in /homepages/3/d611372760/htdocs/homepage/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php on line 316