It can’t exist at that URL.
As you can see above, the first part of the URL looks into the /plugins dir. Then the URL starts at /Users after that, which is the URL that
$path is returning with
get_stylesheet_directory(). It should wipe that whole URL and just start from http://
To see what was going with
$path, I tested the following:
$path = get_stylesheet_directory() . "/_includes/acf-pro/"; print_r($path)
$path = get_template_directory_uri() . "/_includes/acf-pro/"; print_r($path)
get_template_directory_uri(), there are no errors reported, so presumably it’s finding the files it needs, but then Custom Fields menu item disappears from the WP admin sidebar.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Sorry for the issues with ACF's API SSL certificate this morning. We've resolved it and your activations and downloads should be back to normal again. Thanks! ^LG— Advanced Custom Fields (@wp_acf) November 2, 2022
© 2022 Advanced Custom Fields.