• Resolved Angela Bowman

    (@askwpgirl)


    Wallet plugin attempts to query EVERY line of data in the usermeta database table when accessing the Wallet transactions. If you have many users (over a few thousand), this results in out of memory issue and a PHP Fatal error.

    If this is the case, no Wallet transactions anywhere can take place due to the Wallet plugin exhausting the memory of the site. If you attempt to edit an order and issue a refund to the Wallet, it will not be issued, and you cannot view Wallet Transactions.

    In this case, we have over 800MB of memory allotted.

    We worked with WP Swings support to solve this issue, and they made the following code changes in attached screenshots. The left screenshot is the customized code, and the right is the same version of the plugin without the bandaid.

    This of course is not a long-term fix and is not in the current version of Wallet plugin. I am wondering if a permanent fix will be added to the plugin? While this issue is most noticeable on sites with many users, it will be a performance issue by using so much memory on sites by querying ALL usermeta for every transaction and to view transactions.

    I am unable to update to latest version of Wallet due to this change on my older copy only, so therefore our site is still experiencing the non-stop fatal errors on the datastore which was fixed recently.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello @askwpgirl

    Thank you for using our plugin,

    1 For the issue you are facing regarding the data storage we have fixed it and we will share with you the latest zip file of our plugin via mail through which you are connected with our support.

    2 Also for the issue regarding the wallet transactions we are currently working on optimization of code so that it gets fixed and we will update you once we fix it.

    Regards

    Thread Starter Angela Bowman

    (@askwpgirl)

    That is very good news! Was this fix in the latest update you posted on 22 September 2023?

    Plugin Author WP Swings

    (@wpswings)

    Hey ,

    In the latest update, we have worked on HPOS compatibility along with some features requested by our clients.

    We are still working on wallet transaction data storage issue and will surely update you once we finish with it.

    Regards

    Thread Starter Angela Bowman

    (@askwpgirl)

    Thank you. I tested latest version of the plugin. Please do not mark this issue as resolved since this is an outstanding issue that is not resolved and will impact any site with more than a few thousand users.

    When the Wallet plugin is active on a site with many users, the site becomes completely non functional with repeated 502 errors. We are unable to do basic functions on the site such as update plugins, navigate the site, etc.

    I would like an update as to when you think this issue will be resolved.

    Plugin Author WP Swings

    (@wpswings)

    Hello,

    We are currently addressing the issue you reported and I wanted to assure you that we will keep you updated through the ticket which you are connected with us as soon as we have resolved the problem.

    Thank you for your patience.

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Fatal Error When Accessing Wallet Transactions’ is closed to new replies.