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

[PRO] undefined function wp_read_image_metadata #7

Open
tobyink opened this issue Apr 12, 2020 · 0 comments
Open

[PRO] undefined function wp_read_image_metadata #7

tobyink opened this issue Apr 12, 2020 · 0 comments

Comments

@tobyink
Copy link

tobyink commented Apr 12, 2020

This is really a bug in the pro version which doesn't seem to affect the free version. I would have reported it via the pro version's website, but the contact page seems to be broken!

Anyway, I get the following error:

PHP Fatal error:  Uncaught Error: Call to undefined function wp_read_image_metadata() in /home/sites/[redacted]/public_html/wp-content/plugins/wp-user-avatar-pro/classes/storage/class-wpua-media-storage.php:37

I solved it by adding the following:

require_once( ABSPATH . '/wp-admin/includes/image.php' );
@tobyink tobyink changed the title [PRO] [PRO] undefined function wp_read_image_metadata Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant