Title: Plugin messes up admin menu page (SOLUTION)
Last modified: May 29, 2020

---

# Plugin messes up admin menu page (SOLUTION)

 *  [crasholino](https://wordpress.org/support/users/crasholino/)
 * (@crasholino)
 * [6 years ago](https://wordpress.org/support/topic/plugin-messes-up-admin-menu-page-solution/)
 * Hi,
    I just discovered that on WordPress 5.4.1 the plugin will cause trouble 
   to the admin menu page (basically it won’t show all the data and it doesn’t allow
   to do any action).
 * This is related to a problem that I discovered on your code.
 * On line 219 of the gateway.php file, you called a wrong function
    wc()->cart-
   >get_total( ” ) This statement should be changed with the following: WC()->cart-
   >total
 * This will fix the issue
    -  This topic was modified 6 years ago by [crasholino](https://wordpress.org/support/users/crasholino/).

The topic ‘Plugin messes up admin menu page (SOLUTION)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-waller-credit-system_ecf0f1.
   svg)
 * [User Wallet Credit System](https://wordpress.org/plugins/user-waller-credit-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-waller-credit-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-waller-credit-system/)
 * [Active Topics](https://wordpress.org/support/plugin/user-waller-credit-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-waller-credit-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-waller-credit-system/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [crasholino](https://wordpress.org/support/users/crasholino/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/plugin-messes-up-admin-menu-page-solution/)
 * Status: not resolved