I have been using WordPress all my life (just exaggerating) in building websites, and everything that I need for a website, may it be a blog, a portfolio, or an e-commerce one, can be achieved using WordPress. Despite that, other website owners opt other CMS for several reasons.
One of the most popular CMS (for e-comemerce) is Magento. I had used this CMS many years ago, so I decided to refresh my knowledge about it. I have read Magento is still the most popular CMS for e-commerce so being knowledgeable about it can surely be an advantage.
It took me a while to install it, and finally, there it is. I can see the front end looking good and I was able to login to the dashboard. However, I encountered several errors which I listed below. Hopefully, this will help anyone who is new to Magento.
Dashboard Menu Panel Not Working
When I clicked on the menus, it doesn’t work. I searched online for the fix and the ff. is what worked for me:
- Open App/etc/di.xml
- Find Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
- Replace it with Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
One or more indexers are invalid. Make sure your Magento cron job is running.
(I realized I should have installed this first of all and set up Magento using this tool, but I already set it up and I don’t wanna to start all over again.)
Open the command line at the root of your magento installation, and enter bin/magento.
php bin/magento indexer:reindex
One or more of the Cache Types are invalidated: Page Cache. Please go to Cache Management and refresh cache types.
Go to System -> Cache management, check the item with INVALIDATED status and click Refresh. (see image below)