Hi,
I have moved the beta shop to live and front end is works fine and also back-end also works fine except module section it s throws error and i can see in debug still shows the beta root path.
This exception throws when i click any module action like uninstall, reset, etc.. and in Alerts and updates tab
PrestaShop version: 1.7.5.0
Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/home/beta/public_html/modules/tc_bannercmsblock/tc_bannercmsblock.php' (include_path='/home/live/public_html/vendor/pear/pear_exception:/home/live/public_html/vendor/pear/console_getopt:/home/live/public_html/vendor/pear/pear-core-minimal/src:/home/live/public_html/vendor/pear/archive_tar:.:/usr/share/php')
Symfony\Component\Debug\Exception\FatalErrorException
-
$path = $this->disk->get('path', ''); // Variable needed for empty() test
-
if (empty($path)) {
-
$this->disk->set('path', _PS_MODULE_DIR_ . DIRECTORY_SEPARATOR . $this->attributes->get('name'));
-
}
-
// End of temporary content
-
require_once $this->disk->get('path') . DIRECTORY_SEPARATOR . $this->attributes->get('name') . '.php';
-
$this->instance = LegacyModule::getInstanceByName($this->attributes->get('name'));
-
}
-
/**
-
* @param $attribute
LOG
DEBUG23:11:45 | doctrine | SELECT name FROM ps_module WHERE active = 1 |
INFO23:11:45 | request | Matched route "admin_module_notification". |
DEBUG23:11:45 | security | Read existing security token from the session. |
DEBUG23:11:45 | security | User was reloaded from a user provider. |
DEBUG23:11:45 | doctrine | SELECT name FROM ps_module WHERE active = 1 |
DEBUG23:11:45 | doctrine | SELECT p0_.id AS id_0, p0_.id_employee AS id_employee_1, p0_.id_module AS id_module_2, p0_.date_add AS date_add_3, p0_.date_upd AS date_upd_4 FROM ps_module_history p0_ WHERE p0_.id_employee = ? |
CRITICAL23:11:45 | php | Fatal Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/home/beta/public_html/modules/tc_bannercmsblock/tc_bannercmsblock.php' (include_path='/home/live/public_html/vendor/pear/pear_exception:/home/live/public_html/vendor/pear/console_getopt:/home/live/public_html/vendor/pear/pear-core-minimal/src:/home/live/public_html/vendor/pear/archive_tar:.:/usr/share/php') |
INFO23:11:45 | php | User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". |
CRITICAL23:11:45 | request |
Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: PrestaShop\PrestaShop\Adapter\Module\Module::instanciateLegacyModule(): Failed opening required '/home/beta/public_html/modules/tc_bannercmsblock/tc_bannercmsblock.php' (include_path='/home/live/public_html/vendor/pear/pear_exception:/home/live/public_html/vendor/pear/console_getopt:/home/live/public_html/vendor/pear/pear-core-minimal/src:/home/live/public_html/vendor/pear/archive_tar:.:/usr/share/php')" at /home/live/public_html/src/Adapter/Module/Module.php line 354
|