Magento 2 when I click on frontend my account cannot open and it shows error Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?GENERATE THIS REPORT: main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_Although I use the correct namespace a wrong instance is passed to the constructorUncaught Error: Call to a member function setItem() on boolean on product grid: Magento 2unit test with phpunitAdd a template file to cms page Magento 2Magento2.2.4 : Uninstall a theme throw exceptions?Magento 2 Create dynamic array From different Model Collection to use in multi select in gridFatal error: Uncaught Error: Cannot instantiate abstract class MagentoFrameworkModelResourceModelAbstractResourceMagento 2.3 Can't view module's front end page output?MsrpPriceCalculator Exception
Dating a Former Employee
What is the font for "b" letter?
AppleTVs create a chatty alternate WiFi network
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
Using audio cues to encourage good posture
What do you call the main part of a joke?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Why is it faster to reheat something than it is to cook it?
How does light 'choose' between wave and particle behaviour?
Why do we bend a book to keep it straight?
Why weren't discrete x86 CPUs ever used in game hardware?
How to install press fit bottom bracket into new frame
Why aren't air breathing engines used as small first stages?
If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?
Should I use a zero-interest credit card for a large one-time purchase?
Time to Settle Down!
Significance of Cersei's obsession with elephants?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
How come Sam didn't become Lord of Horn Hill?
How do living politicians protect their readily obtainable signatures from misuse?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
What is the topology associated with the algebras for the ultrafilter monad?
What initially awakened the Balrog?
Magento 2 when I click on frontend my account cannot open and it shows error
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?GENERATE THIS REPORT: main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_Although I use the correct namespace a wrong instance is passed to the constructorUncaught Error: Call to a member function setItem() on boolean on product grid: Magento 2unit test with phpunitAdd a template file to cms page Magento 2Magento2.2.4 : Uninstall a theme throw exceptions?Magento 2 Create dynamic array From different Model Collection to use in multi select in gridFatal error: Uncaught Error: Cannot instantiate abstract class MagentoFrameworkModelResourceModelAbstractResourceMagento 2.3 Can't view module's front end page output?MsrpPriceCalculator Exception
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am facing this issue.
My XML file is
app/code/Prayag/Module/view/frontend/layout/cms_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="order_total" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="sidebar.additional">
<block class="MagentoFrameworkViewElementTemplate" name="order_total_sidebar" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="cart_total_sidebar" template="Prayag_Module::cart_view.phtml">
</block>
</referenceContainer>
</body>
</page>
My phtml file is
app/code/Prayag/Module/view/frontend/templates/orders.phtml
<?php
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customerSession = $objectManager->create('MagentoCustomerModelSession');
$customerID = $customerSession->getCustomerId();
$order = $this->helper('PrayagModuleHelperData')->getCollection($customerID);
foreach($order as $items) ?>
<span>IncrementId :</span><a href="<?php echo $block->getUrl('sales/order/history'); ?>"><?php echo $items->getIncrementId(); ?></a><br>
<?php
echo "<b>Subtotal :</b>". $items->getSubtotal(). '<br/>';
echo "<b>Order Status :</b>". $items->getStatus(). '<br/>';
echo "<b>Date :</b>". $items->getCreatedAt().'<br/>';
And my helper file is
app/code/Prayag/Module/Helper/Data.php
<?php
namespace PrayagModuleHelper;
class Data extends MagentoFrameworkAppHelperAbstractHelper
public function __construct(
MagentoSalesModelOrderFactory $orderFactory
)
$this->orderFactory = $orderFactory;
public function getCollection($customerID)
$collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC')
->addAttributeToFilter('customer_id',$customerID);
$collection->setPageSize(5)->setCurPage(1);
return $collection;
magento2 frontend helper exception
New contributor
|
show 3 more comments
I am facing this issue.
My XML file is
app/code/Prayag/Module/view/frontend/layout/cms_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="order_total" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="sidebar.additional">
<block class="MagentoFrameworkViewElementTemplate" name="order_total_sidebar" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="cart_total_sidebar" template="Prayag_Module::cart_view.phtml">
</block>
</referenceContainer>
</body>
</page>
My phtml file is
app/code/Prayag/Module/view/frontend/templates/orders.phtml
<?php
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customerSession = $objectManager->create('MagentoCustomerModelSession');
$customerID = $customerSession->getCustomerId();
$order = $this->helper('PrayagModuleHelperData')->getCollection($customerID);
foreach($order as $items) ?>
<span>IncrementId :</span><a href="<?php echo $block->getUrl('sales/order/history'); ?>"><?php echo $items->getIncrementId(); ?></a><br>
<?php
echo "<b>Subtotal :</b>". $items->getSubtotal(). '<br/>';
echo "<b>Order Status :</b>". $items->getStatus(). '<br/>';
echo "<b>Date :</b>". $items->getCreatedAt().'<br/>';
And my helper file is
app/code/Prayag/Module/Helper/Data.php
<?php
namespace PrayagModuleHelper;
class Data extends MagentoFrameworkAppHelperAbstractHelper
public function __construct(
MagentoSalesModelOrderFactory $orderFactory
)
$this->orderFactory = $orderFactory;
public function getCollection($customerID)
$collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC')
->addAttributeToFilter('customer_id',$customerID);
$collection->setPageSize(5)->setCurPage(1);
return $collection;
magento2 frontend helper exception
New contributor
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago
|
show 3 more comments
I am facing this issue.
My XML file is
app/code/Prayag/Module/view/frontend/layout/cms_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="order_total" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="sidebar.additional">
<block class="MagentoFrameworkViewElementTemplate" name="order_total_sidebar" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="cart_total_sidebar" template="Prayag_Module::cart_view.phtml">
</block>
</referenceContainer>
</body>
</page>
My phtml file is
app/code/Prayag/Module/view/frontend/templates/orders.phtml
<?php
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customerSession = $objectManager->create('MagentoCustomerModelSession');
$customerID = $customerSession->getCustomerId();
$order = $this->helper('PrayagModuleHelperData')->getCollection($customerID);
foreach($order as $items) ?>
<span>IncrementId :</span><a href="<?php echo $block->getUrl('sales/order/history'); ?>"><?php echo $items->getIncrementId(); ?></a><br>
<?php
echo "<b>Subtotal :</b>". $items->getSubtotal(). '<br/>';
echo "<b>Order Status :</b>". $items->getStatus(). '<br/>';
echo "<b>Date :</b>". $items->getCreatedAt().'<br/>';
And my helper file is
app/code/Prayag/Module/Helper/Data.php
<?php
namespace PrayagModuleHelper;
class Data extends MagentoFrameworkAppHelperAbstractHelper
public function __construct(
MagentoSalesModelOrderFactory $orderFactory
)
$this->orderFactory = $orderFactory;
public function getCollection($customerID)
$collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC')
->addAttributeToFilter('customer_id',$customerID);
$collection->setPageSize(5)->setCurPage(1);
return $collection;
magento2 frontend helper exception
New contributor
I am facing this issue.
My XML file is
app/code/Prayag/Module/view/frontend/layout/cms_index_index.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="order_total" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="sidebar.additional">
<block class="MagentoFrameworkViewElementTemplate" name="order_total_sidebar" template="Prayag_Module::orders.phtml">
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="MagentoFrameworkViewElementTemplate" name="cart_total_sidebar" template="Prayag_Module::cart_view.phtml">
</block>
</referenceContainer>
</body>
</page>
My phtml file is
app/code/Prayag/Module/view/frontend/templates/orders.phtml
<?php
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customerSession = $objectManager->create('MagentoCustomerModelSession');
$customerID = $customerSession->getCustomerId();
$order = $this->helper('PrayagModuleHelperData')->getCollection($customerID);
foreach($order as $items) ?>
<span>IncrementId :</span><a href="<?php echo $block->getUrl('sales/order/history'); ?>"><?php echo $items->getIncrementId(); ?></a><br>
<?php
echo "<b>Subtotal :</b>". $items->getSubtotal(). '<br/>';
echo "<b>Order Status :</b>". $items->getStatus(). '<br/>';
echo "<b>Date :</b>". $items->getCreatedAt().'<br/>';
And my helper file is
app/code/Prayag/Module/Helper/Data.php
<?php
namespace PrayagModuleHelper;
class Data extends MagentoFrameworkAppHelperAbstractHelper
public function __construct(
MagentoSalesModelOrderFactory $orderFactory
)
$this->orderFactory = $orderFactory;
public function getCollection($customerID)
$collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC')
->addAttributeToFilter('customer_id',$customerID);
$collection->setPageSize(5)->setCurPage(1);
return $collection;
magento2 frontend helper exception
magento2 frontend helper exception
New contributor
New contributor
edited 2 days ago
magefms
2,7702528
2,7702528
New contributor
asked 2 days ago
Prayag DavePrayag Dave
34
34
New contributor
New contributor
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago
|
show 3 more comments
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago
|
show 3 more comments
2 Answers
2
active
oldest
votes
Please check PragayagModuleHelperData.php
file. The error says getLabel()
method doesn't exist. So please check it.
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
please edit question and add your code there
– magefms
2 days ago
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
add a comment |
Try This Command:-
sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Prayag Dave is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270295%2fmagento-2-when-i-click-on-frontend-my-account-cannot-open-and-it-shows-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please check PragayagModuleHelperData.php
file. The error says getLabel()
method doesn't exist. So please check it.
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
please edit question and add your code there
– magefms
2 days ago
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
add a comment |
Please check PragayagModuleHelperData.php
file. The error says getLabel()
method doesn't exist. So please check it.
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
please edit question and add your code there
– magefms
2 days ago
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
add a comment |
Please check PragayagModuleHelperData.php
file. The error says getLabel()
method doesn't exist. So please check it.
Please check PragayagModuleHelperData.php
file. The error says getLabel()
method doesn't exist. So please check it.
answered 2 days ago
Raj Mohan RRaj Mohan R
673110
673110
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
please edit question and add your code there
– magefms
2 days ago
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
add a comment |
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
please edit question and add your code there
– magefms
2 days ago
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
thank you for replying Mr. Raj Mohan. but in my code it is <?php namespace PrayagModuleHelper; class Data extends MagentoFrameworkAppHelperAbstractHelper public function __construct( MagentoSalesModelOrderFactory $orderFactory ) $this->orderFactory = $orderFactory; public function getCollection($customerID) $collection = $this->orderFactory->create()->getCollection()->setOrder('entity_id', 'DESC') ->addAttributeToFilter('customer_id',$customerID); $collection->setPageSize(5)->setCurPage(1); return $collection; ?>
– Prayag Dave
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
So have you deployed the files?
– Raj Mohan R
2 days ago
1
1
please edit question and add your code there
– magefms
2 days ago
please edit question and add your code there
– magefms
2 days ago
1
1
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
There is no method getLabel() in your Helper class.
– Raj Mohan R
2 days ago
add a comment |
Try This Command:-
sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
add a comment |
Try This Command:-
sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
add a comment |
Try This Command:-
sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
Try This Command:-
sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
answered 2 days ago
Rk RathodRk Rathod
1,459214
1,459214
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
add a comment |
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
thanks for taking interest in my question. but I got white blank page after running those commands.
– Prayag Dave
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
error reporting enable in app/bootstrap.php line no. 12
– Rk Rathod
2 days ago
add a comment |
Prayag Dave is a new contributor. Be nice, and check out our Code of Conduct.
Prayag Dave is a new contributor. Be nice, and check out our Code of Conduct.
Prayag Dave is a new contributor. Be nice, and check out our Code of Conduct.
Prayag Dave is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270295%2fmagento-2-when-i-click-on-frontend-my-account-cannot-open-and-it-shows-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you checked your log files and browser console error messages. Try giving proper file permissions too
– Raj Mohan R
2 days ago
no I didn't check it. how to check that ??
– Prayag Dave
2 days ago
Check Magento log files in Magento_Directory/var/log/exception.log/debug.log/system.log. Server error log files /var/log/apache2/error_log. Inspect your browser to open the developer console where you can find the errors
– Raj Mohan R
2 days ago
still it's showing errors
– Prayag Dave
2 days ago
What error are you finding in the log files with regards to this module
– Raj Mohan R
2 days ago