EasyStore Wishlist: Array_column() Error And 404 On Customer Account Page - Question | JoomShaper

EasyStore Wishlist: Array_column() Error And 404 On Customer Account Page

BP

Bruce Paine

EasyStore 6 days ago

Hello JoomShaper Support, 

I am having trouble with the Wishlist functionality in EasyStore on my development site. I have documented the issues with screenshots (attached) and have performed the following troubleshooting steps without success. 

The Problems: 

  • Frontend Error: When viewing the dedicated Wishlist page (using the SPPB Product List addon with "Wishlist" as the source), I receive the following error:
0 - array_column(): Argument #1 ($array) must be of type array, false given
(Note: This occurs on both PHP 8.2 and 8.3, and with both MySQLi and MySQL PDO drivers).
  • Backend Missing Data: Even though I have added products to the wishlist while logged in, no wishlist records appear under the Customer profile in the EasyStore backend.
  • Initial 404: The "Wishlist" link in the user account dropdown originally threw a 404, which I resolved by creating a menu item (type SPPB) with the alias wishlist, but now it only displays the error mentioned above.  
The menu item links to a new Page in SPPB which I have named ‘easystore_wishlist’

Environment & Steps Taken: 

  • Versions: Latest version of EasyStore Pro and SP Page Builder Pro (Manually re-installed to ensure no corrupted files).
  • Template: Allura - Helix Ultimate (Checked for com_easystore overrides; none found).
  • Database: Ran the Joomla "Database Fix" tool and tried flushing tables.
  • Addons: I have tried deleting and re-adding the "Product List" addon on the wishlist page.
  • Product Types: The products being added do not have variants.
  • Product Configuration: I have verified that the products added to the wishlist have prices and available stock assigned, and the records have been re-saved to ensure all database fields are populated.
  • I have also tried deleting all existing wishlist items and adding fresh ones after the update to ensure no 'stale' data was causing the conflict, but the array_column error persists immediately upon adding a new item.

Request:

It appears the Product List addon is returning false from a database query rather than an array, causing the array_column crash. Could you please check if there is a schema mismatch in my #__easystore_wishlists table or a specific compatibility issue with the current build and PHP 8.3? 

In the hidden information field I have provided a temporary Super Admin login as well as the ‘fake’ customer login I have been testing.

0
5 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 6 days ago #222934

Hi Bruce,

Thank you for your detailed report and for sharing all the troubleshooting steps.

We’ve identified the issue—it’s related to how the wishlist data is being handled, where under certain conditions the query may return an invalid result, leading to the array_column() error.

Our team is already working on a fix, and it will be included in an upcoming update very soon.

We appreciate your patience, and we’ll notify you once the fix is released.

Thanks again for bringing this to our attention.

Best Regards,

0
BP
Bruce Paine
Accepted Answer
6 days ago #222928

Now it seems I am having difficulty posting into this forum!

I am trying to share the web address and screenshots in the original message above but neither will save.

Here is the link to screenshots.

0
BP
Bruce Paine
Accepted Answer
6 days ago #222929

Here is the site admin URL.

And please note I have made a site backup.

0
BP
Bruce Paine
Accepted Answer
5 days ago #222938

You're most welcome and thank you for the update.

It's good to know the issue has been found and a fix is coming.

I will continue working in my development environment and let you know if I encounter any more issues.

All the best!

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 5 days ago #222939

You are welcome.

0