PHP Warnings in et-core-plugin (Undefined array keys: animated_hearts & show_icon)

This topic has 4 replies, 2 voices, and was last updated 2 days, 8 hours ago ago by Andrew Mitchell

  • Avatar: Optimusplus
    Optimusplus
    Participant
    May 19, 2026 at 14:42

    Hello 8theme Support Team,

    I am running the XStore theme for my e-commerce store, AllPoint Shop, on a highly optimized PHP 8+ environment. While the theme functions perfectly on the frontend, my server’s error logs are constantly being flooded with the following PHP warnings triggered by the et-core-plugin:

    PHP Warning: Undefined array key “animated_hearts” in …/et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php on line 195

    PHP Warning: Undefined array key “show_icon” in …/et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php on line 214

    PHP Warning: Undefined array key “show_icon” in …/et-core-plugin/packages/xstore-compare/xstore-compare.php on line 215

    Although these do not cause fatal errors, modern PHP environments are strict about undefined array keys. The lack of isset() or !empty() checks before accessing these variables causes unnecessary log bloat, making server monitoring difficult for us.

    Could you please escalate this to your development team so they can properly define these keys or add the necessary checks in the upcoming plugin update?

    Thank you for your assistance.

    Best regards.

    3 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 19, 2026 at 16:05

    Hello, Optimusplus,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process

    Best Regards,
    8Theme’s Team

    Avatar: Optimusplus
    Optimusplus
    Participant
    May 19, 2026 at 18:17

    Hello 8Theme Team,

    Thank you for the quick response. However, due to strict company security policies, I cannot provide WP-Admin or FTP access to our live production server.

    Please note that this is not a site-specific configuration issue. It is a general PHP 8+ compatibility issue within your plugin’s core files. The undefined array key warnings are triggered simply because there are no isset() or !empty() checks on those specific lines before the variables are called.

    Your development team can easily reproduce this on their end by running the current version of the et-core-plugin on a strict PHP 8.1+ environment.

    Here are the exact locations again for your developers to check:

    et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php (lines 195 & 214)

    et-core-plugin/packages/xstore-compare/xstore-compare.php (line 215)

    I am simply sharing our server error logs to help you improve the code. I kindly request you to forward this ticket directly to your development team so they can add the missing isset() checks in the next official update.

    Thank you for your understanding.

    Best regards,

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 20, 2026 at 09:46

    Hello, Otimusplus,

    We have forwarded your information to our development team, and they have already implemented the necessary changes. We are providing you with the updated archive and would like to inform you that these changes will be included in the next theme update.

    Best regards,
    8Theme Team

    Content is visible for topic creator and
    support staff only.
  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.