Wow, got a good one here.
Using Opencart 4.1.0.3 php version 8.3.23
Wishlist issues and I will try to explain this the best I can.
Add item to wishlist, does not update immediately, at the top of website page: wishlist(0)
Can make it update by refreshing the page, clicking on wishlist(0), or selecting another page.
Inside wishlist page, item is there, add to cart button and remove button.
Click add to cart and it does so, but does not remove item from wishlist,
even after the item has been purchased.
Here's where it gets crazy.
After purchase, without logging out, go back to wishlist to remove the item.
Click remove button and two pages appear at the same time.
One is the wishlist, with a balloon informing the item has been removed.
(Which the item has NOT been removed)
The other is the login page with a warning "Invalid token session, please log in again"
The login page is on top of the wishlist page, lower and slightly to the right of the screen.
Looks like the right column of the wishlist over the login page.
You can see the headers and the footers of both pages,
and indeed the user is logged out.
I've included a screenshot.

Error in the Admin log.
2025-08-03 19:54:42 - PHP Warning: unlink(/home/gunowner/ocartdata1/storage/cache/cache.product.ae27f156d9efe2e256530f5eebca82b0.1754261552): No such file or directory in /home/gunowner/public_html/system/library/cache/file.php on line 37
Something that may be relevent is the "Invalid token session, please log in again".
When testing emails after a customer purchase, the link in the customer email goes to the login page with that message.
I thought that could be normal, but I also thought it should go to their order page. (If thy have not manually logged out.)
or at least go to the login without the message, like it does after a manual logout.
(I changed the message to read "Please Log In Again, Thank You")
Also, when checking out, I notice that sometimes I would get logged off for no reason,
when filling out the address, shipping method, payment method. Usually after clicking the payment method button,
and more often when filling the form out manually. ? Thought maybe user error ?
Hope you folks can help.
Thanks,
Dan