• Resolved bonedigital

    (@bonedigital)


    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)
  • Plugin Author alttextai

    (@alttextai)

    @bonedigital Looking into this…will let you know shortly any updates.

    Plugin Author alttextai

    (@alttextai)

    @bonedigital This should be fixed now in version 1.1.1. Thanks for reporting this bug!

    Thread Starter bonedigital

    (@bonedigital)

    The version 1.1.1 of AltTextAI plugin is conflicting with “WP Offload Media” plugin. When we try to import an image, the thumbnail is not loading for the new image. When we disable “WP Offload Media” plugin, the thumbnail is showing for the newly uploaded images, but the old ones which were showing thumbnails are now not showing the thumbnails.

    Plugin Author alttextai

    (@alttextai)

    @bonedigital Are you sure this is an issue with our plugin? If you are disabling WP Offload Media and thumbnails work, then it seems like there is a problem with WP Offload Media.

    Our plugin doesn’t modify any image locations or the files themselves. If you have details from an error log or similar, please let us know and we can take a look!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image variations not generating due to database error’ is closed to new replies.