Magento 2 Migration Extensions webpconverted Sale

troubleshooting

  1. Issue: Redirect to Admin Dashboard after Saving the Blog Post [Fixed]

    If you save a post in Magento 2 Blog, your post is not saved and you are redirected to the Magento dashboard, most likely it happens when the post has a lot of related products or posts. This issue is connected with your server PHP configurations. 

    The max_input_vars PHP setting parameter defines the number of requests (posts) data PHP can receive. When a blog post has many related posts or products a lot of data goes with the request to PHP and it just doesn't receive part of this data.

    In order to fix the issues with post saving:

    1. Change the value of the max_input_vars parameter from 1000 to 5000 in the main php.ini file on your server.

    2. Restart the Apache/Nginx or PHP-FPM if it is used.

    Note: you need to have the superuser server permissions to be able to change this

    Read more »
  2. Serve Images In Next-Gen Formats on Magento Website

    Page Speed is taken very seriously by a lot of Magento stores since it directly influences your general website performance. That's why everyone constantly tries to improve it and looks for the best ways to do so. 

    In case you're checking your website speed in Google PageSpeed you can face the Serve images in next-gen formats issue. According to it, Google recommends you to save images in JPEG 2000, JREG XR and WEBP formats instead of old PNG and JPG. 

    Serve Images in Next Gen Formats in Magento

    Read more »
  3. Featured Images Are Not Displayed In Magento 2 Blog

    If you use Magento 2 Blog extension with attached featured images to a blog post but these images are not displayed on the storefront, then most likely the issue is in your theme. A lot of themes provide custom blog layouts and template files that override the original view and can miss some blog functionality like featured images. To check and fix this, please follow steps below:

    1. Open this file if exists (if does not exists skip steps 2-3):

    /app/design/frontend/[ThemeVendor]/[themename]/Magefan_Blog/templates/post/list/item.phtml

    2. Check if the file has the code like "getFeaturedImage". You can find the original code here 

    https://github.com/magefan/module-blog/blob/master/view/frontend/templates/post/list/item.phtml
    https://prnt.sc/tcl3sj

    3. If this code is missing, add it

    Read more »
  4. Double Canonical Tags in Magento 2 Blog

    In case you use Magento Blog extension and face the issues of double canonical tags on blog pages know that it most commonly happens because you use some third-party SEO extension. And that SEO extension adds the additional canonical URL for your blog pages.

    If the SEO module you use is Mageworx SEO extension you need to go to Stores > Configuration > Mageworx > SEO Base > Canonical URL Settings and set the following items in the Canonical URL won't be added for those pages:

    blog_index_index
    blog_post_view
    blog_category_view
    blog_archive_view
    blog_author_view
    blog_tag_view

    Magento 2 Double Blog Canonical Issue

    Once you add them, the second canonical URLs

    Read more »
  5. Using WebP Images in CSS Background

    If you already use WebP images for your HTML <img> tags and want to enable WebP for the CSS background as well, the proper way is to use multiple backgrounds is the CSS styling.

    For example, you have an element with .png CSS background:

    .minicart-wrapper .action.showcart.desktop .fa-shopping-cart:before {
        background: url(../images/icon-cart.png) no-repeat;
    }

    To switch it to the WebP, you need to convert PNG/JPG image to WebP image manualy using one of the free tools in the Internet. Save it in the same folder and use CSS like this:

    .minicart-wrapper .action.showcart.desktop .fa-shopping-cart:before {
        background:
    Read more »
  6. Testing Magento 2 Auto Language Switcher

    If you have installed Magefan Auto Language Switcher Extension for Magento 2 and don't know how to test it properly, please follow these simple steps: 

    1. Enable all Magento 2 caches.

    All live sites use enabled caches, so make sure that you have enabled all one when testing.

    2. Use Developer (Simulate Geolocation).

    There is an option in Magento 2 Auto Language Switcher that allows you to test the extension performance.  

    Read more »
  7. Fixed: Related Products Template Does Not Looks Good

    In Magento 2 Blog v2.9.3 we added the feature that many customers requested about, it is "use the default catalog related products template" instead of custom blog related product template. This helps to display related products on the blog post page in the theme design automatically. The commit related to this change can be found at GitHub.

    Unfortunately, there are thousands of themes for Magento 2, and some of them have specific JS and CSS (e.g. Porto Theme). That is why if you use Blog extension v2.9.3 or greater and the related products block does not look good, please try to do next:

    1. Create a new file in your theme directory:

    app/design/frontend/ThemeVendor/themename/Magefan_Blog/layout/blog_post_view.xml

    Read more »
  8. How to Clear Facebook Open Graph Cache on Demand?

    Social media is a powerful platform that generates tons of information throughout the world every day. That is why such networks as Facebook and Twitter are commonly used for marketing purposes by a lot of stores. It allows them to attract more attention to their content and correspondingly drive more traffic to their websites with the help of Open Graph tags.

    However, sometimes it happens that Facebook OG tags aren't working as they are supposed to. Instead of a great featured image and newly written title and description, you see the outdated information or don't see anything at all.

    If you're wondering what could possibly cause Facebook to pull out the wrong OG data instead of the up-to-date one the answer is pretty simple. Facebook Open Graph Cache. So, in order to make sure Facebook shows the proper Open Graph Information you just need to clear the Facebook cache.

    Follow these steps to clear Facebook Open

    Read more »
  9. Login As Customer extension v2.0.0 - v2.2.2 Important Security Issue Fix

    Today (Feb 12, 2020) we have been notified about a potential security issue in our Magento 2 Login as Customer Extension thanks to Daniel Sloof's tweet.

    Reviewing the code and communicating with Derrick HeesbeenLewis Voncken from experius.nl there was found the security issue.

    Note that, no

    Read more »
  10. How to Remove Currency Switcher in Magento 2?

    There are different reasons you would want to remove the currency switcher dropdown from Magento 2 storefront.

    Magento 2 Currency Switcher Remove

    For example, you may want to remove it because you use Magento 2 Automatic Currency Switcher and don't want to allow customers to manually change a currency.

    In order to remove the currency switcher dropdown follow these steps:

    1. Create a new file inside your storefront theme folder:

    app/design/frontend/ThemeVendor/ThemeName/Magento_Theme/layout/default.xml

    2. Add this code into it:

    <?xml version="1.0"?>
    <page
    Read more »
Posts loader
^Top
Chat