php - Opencart 移动到新服务器后我无法访问管理员
问题描述
每当我尝试访问我在 opencart 中的管理文件夹时,我都会收到此错误。我最近搬到了新服务器
致命错误:在第 115 行的 /var/www/xccc/catalog/controller/module/pavproducttabs.php 中的非对象上调用成员函数 calculate()
这是第 115 行的内容
$price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax')));
解决方案
推荐阅读
- git - 如何在一个分支中压缩 X 提交并将它们推送到另一个分支?
- zapier - 拥有暂存和生产 Zapier 应用程序是否有特定流程?
- javascript - 带有循环javascript的报价生成器
- php - 通过对象在 Laravel 中使用存储门面
- javascript - 如何为所有项目设置相同的高度
- xamarin.forms - UWP 中的 MasterDetailPage“拆分”
- android - 回收站视图未在实时更新时更新
- wpf - 使用 INotifyPropertyChanged 的 WPF Xaml 绑定类实例
- java - SpringMVC 无法返回 Json 或 Xml,Http 406
- laravel-5 - Vue.js - 使用 vue-headful 处理元数据