Hi i have a big problem with acf i think who bugging my site. The error says:
Installation failed: <!– in functions.php you load ur css, js files. in thi file you interact with wordpress. –> {“success”:true,”data”:{“install”:”plugin”,”slug”:”advanced-custom-fields”,”pluginName”:”Advanced Custom Fields”,”activateUrl”:”http:\/\/university-site.local\/wp-admin\/plugins.php?_wpnonce=39ba300cf4&action=activate&plugin=advanced-custom-fields\/acf.php”}}
After refreshing page acf seems to work fine. For example my custom field with date works fine. But when i want to create relationship between two posts i dont get any results.
https://imgur.com/a/5D1ztQU
So i uncomment my code which load my css, js files.
function university_files(){
wp_enqueue_script(‘main-university-js’, get_theme_file_uri(‘assets/js/scripts-bundled.js’), NULL, true); // true means when i want to load script right before close body tag
wp_enqueue_style(‘fonts_for_university’, ‘https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i|Roboto:100,300,400,400i,700,700i’);
wp_enqueue_style(‘font-awesome’, ‘https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css’);
wp_enqueue_style(‘university_main_styles’, get_stylesheet_directory_uri(). ‘/style.css’, NULL);
};
Another problem is uploading simple image on my website. It says:
“An error occurred in the upload. Please try again later.”
So i go to my media library and this images show up. But when i want to set image from “featured image” i only see empty content.
Any ideas? Its so problematic, cause i cant move on.