Prestashop的新主题-空页或致命错误“调用非对象上的成员函数disable()

Prestashop的新主题-空页或致命错误“调用非对象上的成员函数disable(),prestashop,parallax,fatal-error,prestashop-1.6,Prestashop,Parallax,Fatal Error,Prestashop 1.6,几天前,我为Prestashop购买了Parallbag主题,主题是PS1.6.0.x-我的PS是1.6.0.14。Prestashop在默认主题下运行良好,但当我将其切换到Parallbag时,我只能看到一个空白页。只有关闭csthemeconfigurator模块,它才能正常工作,但它是最重要的模块,没有它,我无法看到98%的内容e页…如果我通过模块的安装程序安装csthemeconfigurator,我将出现以下致命错误: 模块文件中的[PrestaShop]致命错误:/home/virt

几天前,我为Prestashop购买了Parallbag主题,主题是PS1.6.0.x-我的PS是1.6.0.14。Prestashop在默认主题下运行良好,但当我将其切换到Parallbag时,我只能看到一个空白页。只有关闭csthemeconfigurator模块,它才能正常工作,但它是最重要的模块,没有它,我无法看到98%的内容e页…如果我通过模块的安装程序安装csthemeconfigurator,我将出现以下致命错误: 模块文件中的[PrestaShop]致命错误:/home/virt106312/domains/tiympal.wirt17.bhlink.pl/public_html/PrestaShop/classes/module/module.php: 对非对象调用成员函数禁用

Module.php文件中的这段代码:

/**
     * This function disable module $name. If an $name is an array,
     * this will disable all of them
     *
     * @param array|string $name
     * @return true if succeed
     * @since 1.4.1
     */
    public static function disableByName($name)
    {
            // If $name is not an array, we set it as an array
            if (!is_array($name))
                    $name = array($name);
            $res = true;
            // Disable each module
            foreach ($name as $n)
                    if (Validate::isModuleName($n))
                            $res &= Module::getInstanceByName($n)->disable();
return $res;
}

我也有同样的错误,这是由于在我的案例中提供的主题zip中缺少一个modules文件夹,它是csbloglatestpost

在/modules/csthemeconfigulator/classes/csthemeconfigulatorclass.php中检查要禁用和启用的模块,并确保/modules目录中有相应的文件夹

如果它们不存在,请查看随主题提供的“其他人”zip“其他人”主页样式,我在那里找到了丢失的模块文件夹