Magento2.3.1 - After install theme :can't use bin/magento CLI
-
14-04-2021 - |
해결책
This is early release bug, you will find it's fix in latest releases
In your function.php file, use this line before function
if (!function_exists('__')) {
Then function __()
will look like this:
if (!function_exists('__')) {
/**
* @return \Magento\Framework\Phrase
*/
function __()
{
$argc = func_get_args();
$text = array_shift($argc);
if (!empty($argc) && is_array($argc[0])) {
$argc = $argc[0];
}
return new \Magento\Framework\Phrase($text, $argc);
}
}
This should fix the issue
제휴하지 않습니다 magento.stackexchange