Image variations not generating due to database error
-
We have narrowed down an issue with image variations not generating on upload to the AltText.AI plugin, when the plugin is deactivated uploads work correctly.
When it is active, these errors are logged and image variations are not generated:[01-Oct-2023 23:45:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 for query select post_id from bone_yoast_seo_links where target_post_id = 20201) made by media_handle_upload, wp_insert_attachment, wp_insert_post, do_action('add_attachment'), WP_Hook->do_action, WP_Hook->apply_filters, ATAI_Attachment->add_attachment, ATAI_Attachment->generate_alt, ATAI_Attachment->get_seo_keywords, ATAI_Attachment->yoast_seo_keywords [01-Oct-2023 23:45:26 UTC] PHP Warning: exif_imagetype(/sites/[client-site-redacted]/files/web/app/uploads/2023/10/test-upload.jpg): failed to open stream: No such file or directory in /sites/[client-site-redacted]/files/web/wp/wp-includes/functions.php on line 3286 [01-Oct-2023 23:45:26 UTC] PHP Warning: file_get_contents(/sites/[client-site-redacted]/files/web/app/uploads/2023/10/test-upload.jpg): failed to open stream: No such file or directory in /sites/[client-site-redacted]/files/web/wp/wp-includes/functions.php on line 3309 [01-Oct-2023 23:46:59 UTC] PHP Warning: exif_imagetype(/sites/[client-site-redacted/files/web/app/uploads/2023/10/test-upload-2.jpg): failed to open stream: No such file or directory in /sites/[client-site-redacted/files/web/wp/wp-includes/functions.php on line 3286 [01-Oct-2023 23:46:59 UTC] PHP Warning: file_get_contents(/sites/[client-site-redacted/files/web/app/uploads/2023/10/test-upload-2.jpg): failed to open stream: No such file or directory in /sites/[client-site-redacted/files/web/wp/wp-includes/functions.php on line 3309
Plugin version is: Version 1.0.50
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Image variations not generating due to database error’ is closed to new replies.