troubleshooting

  1. The following required properties are missing: fb:app_id

    When you test your page using Facebook Sharing Debugger and get the warning "The following required properties are missing: fb:app_id",

    Magento 2 Required Properties Facebook

    you need to add fb:app_id meta tag to the <head> tag of your page:

    <meta property="fb:app_id" content="ХХХХХХХХХХХХХХХ" />

    Replace ХХХХХХХХХХХХХХХ with your Facebook App ID.

     

    Read more »
  2. 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 »
  3. 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 »
  4. 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 »
  5. Error: Product Key is empty or invalid. The extension has been automatically disabled.

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

    If you get the error "Product Key is empty or invalid. The extension has been automatically disabled." while saving Magefan extension on Magento Community edition and  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 »
  6. Magento 2 Showing Wrong Customer IP

    Sometimes instead of the real customer IP address, you can see 127.0.0.1 or some other wrong customer IP in your Magento 2 Admin panel. It can be due to proxies, like Varnish, Cloudflare, that may be enabled for your Magento 2 store.

    To solve the wrong IP address issue you need to:

    1. Create a new file in M2 directory:

    app/etc/XIP/di.xml

    2. Paste the code:

    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Framework\HTTP\PhpEnvironment\RemoteAddress">
    <arguments>
    <argument name="alternativeHeaders" xsi:type="array">
    <item name="x-client-ip" xsi:type="string">HTTP_X_REAL_IP</item>
                    <item name="x-cf-connecting-ip" xsi:type="string">HTTP_CF_CONNECTING_IP</item>
         
    Read more »
  7. How to validate Open Graph Tags

    Once you have configured OG tags on our website you may want to test it. In order to validate Open Graph tags please do text:

    1. Visit official Facebook Sharing Debugger.

    2. Enter the URL of the page you want to validate in a corresponding field.

    3. Press the Debug button. Example:

    Magento 2 Open Graph Tags Validation, Sharing Debugger

    Read more »
  8. 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 »
  9. 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 »
  10. 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 »
Posts loader
^Top
Chat