Hi, I received an email from the client because she received a warning from WordPress. It was several days old but the error was on it:
Error Details
=============
An error of type E_ERROR was caused in line 137 of the file /home2/fabkitch/public_html/wp-content/plugins/alttext-ai/includes/class-atai-attachment.php. Error message: Uncaught Error: Call to undefined function wp_generate_attachment_metadata() in /home2/fabkitch/public_html/wp-content/plugins/alttext-ai/includes/class-atai-attachment.php:137
Stack trace:
#0 /home2/fabkitch/public_html/wp-content/plugins/alttext-ai/includes/class-atai-attachment.php(50): ATAI_Attachment->is_attachment_eligible(2267)
#1 /home2/fabkitch/public_html/wp-content/plugins/alttext-ai/includes/class-atai-attachment.php(615): ATAI_Attachment->generate_alt(2267)
#2 /home2/fabkitch/public_html/wp-includes/class-wp-hook.php(310): ATAI_Attachment->add_attachment(2267)
#3 /home2/fabkitch/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#4 /home2/fabkitch/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home2/fabkitch/public_html/wp-includes/post.php(4674): do_action('add_attachment', 2267)
#6 /home2/fabkitch/public_html/wp-includes/post.php(6204): wp_insert_post(Array, false, true)
#7 /home2/fabkitch/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Gift_Card.php(109): wp_insert_attachment(Array, '/home2/fabkitch...')
#8 /home2/fabkitch/public_html/wp-includes/class-wp-hook.php(310): WooCommerce\Square\Gateway\Gift_Card->add_gift_card_image_placeholder('')
#9 /home2/fabkitch/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#10 /home2/fabkitch/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home2/fabkitch/public_html/wp-settings.php(632): do_action('init')
#12 /home2/fabkitch/public_html/wp-config.php(90): require_once('/home2/fabkitch...')
#13 /home2/fabkitch/public_html/wp-load.php(50): require_once('/home2/fabkitch...')
#14 /home2/fabkitch/public_html/wp-admin/admin.php(34): require_once('/home2/fabkitch...')
#15 /home2/fabkitch/public_html/wp-admin/upload.php(10): require_once('/home2/fabkitch...')
#16 {main}
? thrown