1. Blog Extension Installation

    To install Magento 2 Blog Extension by Magefan, please use one of these installation methods.

    Installation Method 1 - Installing via Composer (recomended)

    1. Open command line
    2. Using command "cd" navigate to your Magento 2 root directory
    3. Run commands (Magento 2.1.x):
    composer require magefan/module-blog
    # Authentication required (
    # Get your Magento Marketplace authentication keys or use these:
    # Username: 7c018006799466c681ad507e27904677
    # Password: 289077c86e811661a8f7751828485d3a
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy

    If you use Magento

    Read more »
  2. Apptrian Facebook Pixel on Magefan Blog pages

    If you use Apptrian Facebook Pixel extension on your Magento 2 store and the Facebook pixel is missing on the Magefan Blog pages, please copy the file:




    After that don't forget to flush Magnto cache via admin panel or CLI command:

    php bin/magento cache:clean
    Read more »
  3. Manage Magento 2 Admin Notifications

    Sometimes you can see notifications in Magneto 2 panel that are displayed over and over again. This is Magento 2 admin notifications.

    Magento 2 Admin Notification

    To stop showing these messages you need to mark them as read. 

    For this please navigate to Noficiations Manage page. Click on the bell icon in the top right corner in the admin panel and then press the "See All (X  unread)" link.

    Read more »
  4. Free Magento 2 Extensions

    If you are looking for FREE extensions for Magento 2 here are a few of them. It is not a TOP series and extensions ordered randomly. It's just a cool stuff that we use daily and want to share with you.

    1. Blog Extension by Magefan

    Allows managing a professional blog on Magento 2 stores. It has the biggest number of features on the market.

    2. Login As Customer Extension by Magefan

    With this extension, you are able to enter customer's account via admin panel, so you can check customer issue or place an order for a customer.

    3. SMTP Extension by MagePal

    Allows to setup SMTP (Simple Mail Transfer Protocol)  and sending emails over SMTP server like Gmail, Amazon SES, Office360, Mailgun, SendGrid, Mandrill and more.

    Read more »
  5. Fix: Module 'Company_Module' from 'app/code/Company/Module' has been already defined in 'vendor/company/module'.

    If you have installed or updated Magento 2 extension and received the error message e.g.:

    Module 'Company_Module' from 'app/code/Company/Module' has been already defined in 'vendor/company/module'.

    this means that you have 2 versions of the extension:

    1) in the folder app/code/Company/Module
    2) in the folder vendor/company/module

    In vendor folder Magento stores all components (extensions, themes, language packages) that have been installed using Composer.

    As installing or updating extensions via Composer is preferred, you need to remove extension folder app/code/Company/Module (please don't forget about a backup before removal) and run installation commands.

    Read more »
  6. How To Reindex Magento 2 From Admin Panel

    In Magento 2 you cannot perform the reindex from the back-office. To make a reindex you need use PuTTY or another terminal application to run the CLI commands, e.g. command for reindex:

    php bin/magento indexer:reindex

    With FREE Magento 2 Command Line (CLI) Extension by Magefan you can run CLI commands directly from Magento 2 admin panel.

    Once you install Magefan CLI extension a new menu item "System > Command Line" will be added to the admin menu.

    Magento 2 Command Line

    Read more »
  7. Fix: Element 'block', attribute 'class' is not accepted by the pattern

    If you use Magefan Blog Extension on Magento 2.2.x or greater and receive the error message:

    1 exception(s):
    Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'class': [facet 'pattern'] The value '\Magento\Framework\View\Element\Text\ListText' is not accepted by the pattern '[A-Z][_a-zA-Z\d]*(\\[A-Z][_a-zA-Z\d]*)*'.
    Line: 982
    Element 'block', attribute 'class': '\Magento\Framework\View\Element\Text\ListText' is not a valid value of the atomic type 'blockClassType'.
    Line: 982
    Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'class': [facet 'pattern'] The value '\Magento\Framework\View\Element\Text\ListText' is not accepted by the pattern '[A-Z][_a-zA-Z\d]*(\\[A-Z][_a-zA-Z\d]*)*'.
    Line: 982
    Element 'block', attribute 'class': '\Magento\Framework\View\Element\Text\ListText' is not a valid value of the atomic type 'blockClassType'.
    Line: 982

    First please make sure that you have updated the blog extension to the newest version.

    Read more »
  8. Add Custom Field To Magento 2 Blog Post

    If you need to extend Magento 2 Blog Module by Magefan and add a new custom text field to Blog Post edit page in Magento 2 Admin panel (Content  > Blog > Posts) you must to create a simple custom Magento 2 Extension.

    You can download a sample extension from our GitHub page or you can create it manually using the steps below:

    1. Create composer.json file

    "name": "magefan/module-blog-custom-field",
    "description": "Implements Blog functionality on Magento 2 store",
    "require": {
    "magefan/module-blog" : ">=2.8.0"
    "type": "magento2-module",
    "version": "2.0.0",
    "license": [
    "autoload": {
    "files": [ "registration.php" ],
    "psr-4": {
    "Magefan\\BlogCustomField\\": ""


    Read more »
  9. Magefan Magento 2 Blog Comments Missing

    If you use a third-party theme for your Magento 2 store and have enabled "Use Magefan Blog Comments" as a blog comment option and flushed the Magento cache

    Magneto 2 Blog Comments

    but you still cannot see the comments on the blog post page on the storefront, please compare layout file blog_post_view.xml in your theme folder

    Read more »
  10. No such entity - Fix for Magento 2

    If you receive the error message "No such entity.", "No such entity with" or "No such entity with customerId" in Magento 2, the issue usually occurred when you try to load not existing object via Magento 2 Repository Class.

    To debug this issue, please open the file


    Read more »
Posts loader