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->totalThis will fix the issue
The topic ‘Plugin messes up admin menu page (SOLUTION)’ is closed to new replies.