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

Possible Issue with Automattic's Export to Lightroom plugin #333

Closed
khurtwilliams opened this issue Mar 16, 2021 · 2 comments
Closed

Possible Issue with Automattic's Export to Lightroom plugin #333

khurtwilliams opened this issue Mar 16, 2021 · 2 comments

Comments

@khurtwilliams
Copy link

khurtwilliams commented Mar 16, 2021

For several years, I have used Automattic's Lightroom plugin to export images directly to my Jetpack-powered WordPress website as part of my photo blogging workflow. Something went wrong last week.

Screen Shot 2021-03-16 at 11 25 05 AM

I updated Jetpack to version 9.5 and WordPress to version 5.7 right before I started getting a Lightroom UI error. I removed and re-installed JetPack multiple times.

Screen Shot 2021-03-16 at 11 25 09 AM

I worked with JetPack support to troubleshoot the issue, and we found this in my Apache error logs right after each attempt to use the Lightroom WordPress export plugin.


[Tue Mar 16 14:18:33.844440 2021] [php:error] [pid 19919] [client 192.0.100.246:23372] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, class Kind_Taxonomy does not have a method "wp_generate_attachment_metadata" in /var/www/html/wp-includes/class-wp-hook.php:294\nStack trace:\n#0 /var/www/html/wp-includes/plugin.php(212): WP_Hook->apply_filters()\n#1 /var/www/html/wp-admin/includes/image.php(631): apply_filters()\n#2 /var/www/html/wp-admin/includes/media.php(421): wp_generate_attachment_metadata()\n#3 /var/www/html/wp-content/plugins/jetpack/class.jetpack.php(3874): media_handle_upload()\n#4 /var/www/html/wp-content/plugins/jetpack/class.jetpack.php(3735): Jetpack->upload_handler()\n#5 /var/www/html/wp-includes/class-wp-hook.php(292): Jetpack->remote_request_handlers()\n#6 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()\n#7 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()\n#8 /var/www/html/wp-admin/admin-ajax.php(202): do_action()\n#9 {main}\n  thrown in /var/www/html/wp-includes/class-wp-hook.php on line 294, referer: https://islandinthenet.com/wp-admin/admin-ajax.php?token=XXXXX%40PyLvJanXjoQTA%3A1%3A630&timestamp=1615904312&nonce=XXXXX&body-hash=XXXXXXXXXX%3D&signature=ggB%2BKU8S4eZrDQQj9ijS1uVCHg8%3D

There was an update to Post Kinds that I had applied before I updated JetPack 9.5 and WordPress 5.7. When I disable Post Kinds, the export from Lightroom to WordPress works, and I don't see the error.

@dshanske
Copy link
Owner

Will fix shortly..the error tells me what the problem is

@khurtwilliams
Copy link
Author

khurtwilliams commented Mar 17, 2021 via email

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

2 participants