I updated archive-product.php to the latest version, then the errors come from section-deals.php:
”
Your PHP code changes were not applied due to an error on line 78 of file wp-content/themes/animal-pet-store-pro/template-parts/home/section-deals.php. Please fix and try saving again.
Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in wp-content/themes/animal-pet-store-pro/template-parts/home/section-deals.php:78
Stack trace:
#0 wp-content/themes/animal-pet-store-pro/template-parts/home/section-deals.php(78): date(‘M j, Y’, ‘2024-01-26 00:0…’)
#1 wp-includes/template.php(812): require(‘/home/dh_67vhhe…’)
#2 wp-includes/template.php(745): load_template(‘/home/dh_67vhhe…’, false, Array)
#3 wp-includes/general-template.php(206): locate_template(Array, true, false, Array)
#4 wp-content/themes/animal-pet-store-pro/page-template/home-page.php(14): get_template_part(‘template-parts/…’, ‘deals’)
#5 wp-includes/template-loader.php(106): include(‘/home/dh_67vhhe…’)
#6 wp-blog-header.php(19): require_once(‘/home/dh_67vhhe…’)
#7 index.php(17): require(‘/home/dh_67vhhe…’)
#8 {main}
thrown
“