I’m having trouble with my Magento store’s admin panel. When I try to look at an order, I get this error:
Notice: Undefined index: percent in
/home/users/[username]/[domain]/app/design/adminhtml/default/default/template/sales/order/totals/tax.phtml on line 40
This is new. It used to work fine. I haven’t added any new extensions recently. The weird thing is, my dev server works perfectly. The only difference is that the live site uses memcached, but dev doesn’t.
I’ve tried clearing the cache on the live server, but no luck. Both servers have the same files, and the dev database is a fresh copy from live.
Any ideas what could be causing this? It’s driving me crazy!
yo, that error sounds super annoying! have u tried comparing the tax.phtml file on both servers? maybe theres a tiny difference thats causing the issue. also, check ur magento version - sometimes updates can mess with stuff. good luck fixing it!
hm, that’s a tricky one! have you checked if there’s any difference in php versions between live and dev? sometimes subtle differences can cause unexpected behavior.
also, maybe try disabling memcached temporarily on live to see if it resolves? curious to hear if you’ve tried any other troubleshooting steps!
This issue could be related to a discrepancy in tax configurations between your live and dev environments. I’d recommend reviewing your tax settings in the Magento admin panel, particularly focusing on tax calculation methods and rules. Additionally, examine any recent order data to see if there are anomalies in tax calculations that might be triggering this error.
If that doesn’t yield results, consider temporarily disabling any third-party modules related to order processing or tax calculations. Sometimes, conflicts between modules can cause unexpected behavior. Lastly, double-check your server’s PHP settings, ensuring all required extensions for Magento are properly installed and configured on the live server.
Remember to always backup your data before making any significant changes to your live environment.