troubleshooting

  1. Why Is It Better to use Magento 2 Blog Extension Than Integration With WordPress, Joomla, Drupal

    In Magento 1 we commonly saw that merchants have used Magento for an online store and some other CMS, e.g. WordPress, Joomla or Drupal for blogging, then installing different tools to make the integration between these systems.

    For Magento 2 we have developed Blog extension to allow you to have a store and a blog in one place. We want to show the advantages of using Magefan Blog Module over Integration modules or systems:

    1. Security

    Magento is one of the safest frameworks. Safety is the top priority for any successful business. And it's known that  WordPress and other blogging CMS are not famous for their security, especially when being installed with additional modules. That's why using Magento extension which expands Magento itself is better. Magefan Blog extension has passed over all verifications on Magento Marketplace, including security and it is safe to use. 

    Read more »
  2. Magento 2.3 - TinyMCE 4 Toolbar / Text Color Tool Missing

    In Magento 2.3 and greater, Magento team has changed WYSIWYG editor, instead of TinyMCE 3 Magento started use TinyMCE 4.

    On the picture below, you can see Magento 2.0-2.2 TinyMCE 3  editor:

    TinyMCE 3 Magento 2 Editor

    Default Magento TinyMCE 4 editor does not include a lot of tools for example text color or text background and this can be inconvenient for the content manager.

    Magento 2 TinyMCE 4

    Read more »
  3. Fix Blog Search Does Not Work

    If your Magento 2 Blog search does not work, most likely the issue is in your theme that overrides original blog templates and layout files.

    Try the next steps:

    1. Make sure that you have the latest Magento 2 Blog module version.

    2. Try temporary remove Blog layout XML files and template PHTML files from your theme one by one and run static content deploy. Once find the file that brings the issue, pay attention to it.

    3. Check if a blog search button in the sidebar has the attribute  "disabled", if yes then it is disabled (not active), and this may be a root of the issue. In this case, find a code which makes it disabled. The disabled attribute can be added directly via .phtml file in your theme or with some JavaScript. If you cannot find it, then you can insert this JS script to undisable the button:

    <script>
    require(['jquery', 'domReady!'],
    Read more »
  4. Error: Product Key is empty or invalid. The extension has been automatically disabled.

    Solution for Magento 2 Community Edition (CE / Open Source)

    If while saving Magefan extension on Magento Community edition you get the error "Product Key is empty or invalid. The extension has been automatically disabled." and you don't see any Product Key field, as on the screenshot:

    Product Key is empty or invalid. The extension has been automatically disabled.

    Read more »
  5. How To Move Magefan Blog Data From One Database To Another

    If for some reason you need to copy blog data from one database (DB1) to another (DB2), please follow these steps:

    1. Make sure that Magento 2 instance that uses DB2 has the same blog extension version as one that uses DB1. If not please upldate Magento 2 blog module on one of them.
    2. Create a backup of magefan_blog_* tables in DB2.
    3. Remove all magefan_blog_* tables from DB2.
    4. Make export (dump) of all magefan_blog_* tables from DB1
    5. Import dump to DB2.

    Using this instruction you'll easily migrate ALL blog data from DB1 to DB2. For database manipulations you can use phpMyAdmin, Adminer.

    Read more »
  6. Fix Blog Post Media Gallery In SmartWave Porto Theme

    If you have any issues with the media gallery in a blog post using SmartWave Porto Theme, please follow the steps below.

    First of all, if there are no blog post media gallery settings in the Magento 2 admin panel, please make sure that you use the latest version of the blog extension.

    Then create a new file in your theme directory:

    app/design/ThemeVendor/themename/Magefan_Blog/templates/post/view/gallery.phtml

    and add this code into it.

    Read more »
  7. How To Upgrade From Megnor Blog to Magefan Blog for Magento 2?

    Megnor Blog is a distribution of Magefan Blog. If you use Megnor Blog extension you might want to replace it with the latest version of Magefan Magento 2 blog extension to get new features, security improvements, and bug fixes. The changelog can be found on our website.

    To replace Megnor_Blog with Magefan_Blog, please follow the steps below:

    1. Make a full backup of your Magento 2 files and Data Base.

    2. Rename all Data Base tables that start with 'megnor_blog_...' to 'magefan_blog_...'. E.g. rename "megnor_blog_post" table to "megefan_blog_post". You can use PhpMyAdmin for this purpose.

    3. Rename the folder

    app/design/frontend/ThemeVendor/theme_name/Megnor_Blog 

    to

    app/design/frontend/ThemeVendor/theme_name/Megefan_Blog 

    4. Remove the folder

    app/code/Megnor/Blog

    5. Install Magefan Blog Extension.

    6. Recreate blog widgets. For homepage widget use custom template "Megefan_Blog::widget/list_home.phtml" in widget settings.

     

    Read more »
  8. Apptrian Facebook Pixel On Magento 2 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:

    app/code/Apptrian/FacebookPixel/view/frontend/layout/cms_page_view.xml

    into

    app/design/frontend/ThemeVendor/themename/Apptrian_FacebookPixel/layout/blog_default.xml

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

    php bin/magento cache:clean
    Read more »
  9. 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 »
  10. 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 »
^Top