Spring Offer Is To Get WP Bundle of 65+ Themes At 15% Discount " TPRIDE15 "   
Get Premium WordPress Themes At 20% Off "GETPRO20"

error trying to configure animal pet store theme

HOME Forums Support error trying to configure animal pet store theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12226
    James Giboney
    Participant

    the error is as follows:
    “Your theme (Animal Pet store Pro) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. Suggestions to fix this:

    Update your theme to the latest version. If no update is available contact your theme author asking about compatibility with the current WooCommerce version.
    If you copied over a template file to change something, then you will need to copy the new version of the template and apply your changes again.

    #12227
    James Giboney
    Participant

    “Overrides: animal-pet-store-pro/woocommerce/archive-product.php version 3.4.3 is out of date. The core version is 8.6.0”

    #12228
    James Giboney
    Participant

    the theme is somewhat customizable (can’t use the slider or featured product sections), until I try to import the demo content. Then the website won’t load, neither will the customizer.

    #12229
    James Giboney
    Participant

    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

    #12230
    James Giboney
    Participant

    got it! changed $sale_date to $timestamp and everything works now ๐Ÿ˜€ Nice themes, thanks for the package deal!

    #12233
    support
    Participant

    Hi,

    Thanks for reaching out!

    We will try to update the woocommerce file as soon as possible, as well as the deals section. If you need any help please let us know.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Translate ยป