Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: acf_get_dir is deprecated #6

Open
davidallenlewis opened this issue Nov 26, 2019 · 3 comments
Open

Notice: acf_get_dir is deprecated #6

davidallenlewis opened this issue Nov 26, 2019 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@davidallenlewis
Copy link

( ! ) Notice: acf_get_dir is deprecated since version 5.6.8! Use acf_get_url() instead. in /public/wp-includes/functions.php on line 4565

Call Stack

Time Memory Function Location

1 0.0001 412232 {main}( ) .../post.php:0
2 0.3782 9782032 include( '/public/wp-admin/edit-form-advanced.php' ) .../post.php:198
3 0.3844 9840376 require_once( '/public/wp-admin/admin-header.php' ) .../edit-form-advanced.php:419
4 0.3857 9850224 do_action( ) .../admin-header.php:104
5 0.3857 9850600 WP_Hook->do_action( ) .../plugin.php:478
6 0.3857 9850600 WP_Hook->apply_filters( ) .../class-wp-hook.php:312
7 0.3865 9860824 ACF_Assets->admin_enqueue_scripts( ) .../class-wp-hook.php:288
8 0.3879 9887856 do_action( ) .../assets.php:235
9 0.3879 9888232 WP_Hook->do_action( ) .../plugin.php:478
10 0.3879 9888232 WP_Hook->apply_filters( ) .../class-wp-hook.php:312
11 0.3887 9897544 swp_acf_field_svg_icon->input_admin_enqueue_scripts( ) .../class-wp-hook.php:286
12 0.3887 9897624 acf_get_dir( ) .../class-swp-acf-svg-icon-v5.php:387
13 0.3887 9897624 _deprecated_function( ) .../deprecated.php:145
14 0.3888 9897944 trigger_error ( ) .../functions.php:4565

@marsaultgaetan
Copy link

Hi, i've the same issue : Deprecated: acf_get_dir
Is there a fix ?
Thx

@heydavee
Copy link

Got the same problem. PHP 8 | ACF Pro Version 5.9.8

@mahonbone
Copy link

Still an issue in 2024. PHP 8.1, WordPress 6.6.2, ACF Pro 6.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants