magento2.3 – Multiselect UI Component “prepared-for-send” being added as custom attribute

Using one-page-checkout I want to add a field to the top of the form – Delivery Day, where the customer can choose their preferred day of delivery, as a multi-select showing the options Monday to Friday. I’ve added the custom attribute using an extension_attributes.xml file. To include the form field I’m using the below xml in my layout:

<item name="delivery_days" xsi:type="array">
    <item name="component" xsi:type="string">Magento_Ui/js/form/element/multiselect</item>
    <item name="config" xsi:type="array">
        <!--customScope is used to group elements within a single form (e.g. they can be validated separately)-->
        <item name="customScope" xsi:type="string">shippingAddress.custom_attributes</item>
        <item name="template" xsi:type="string">ui/form/field</item>
        <item name="elementTmpl" xsi:type="string">ui/form/element/multiselect</item>
    </item>
    <item name="provider" xsi:type="string">checkoutProvider</item>
    <item name="dataScope" xsi:type="string">shippingAddress.custom_attributes.delivery_days</item>
    <item name="label" xsi:type="string" translate="true">Delivery Days?</item>
    <item name="validation" xsi:type="array">
        <item name="required-entry" xsi:type="string">true</item>
    </item>
    <item name="options" xsi:type="array">
        <item name="monday" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Monday</item>
            <item name="value" xsi:type="string">monday</item>
        </item>
        <item name="tuesday" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Tuesday</item>
            <item name="value" xsi:type="string">tuesday</item>
        </item>
        <item name="wednesday" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Wednesday</item>
            <item name="value" xsi:type="string">wednesday</item>
        </item>
        <item name="thursday" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Thursday</item>
            <item name="value" xsi:type="string">thursday</item>
        </item>
        <item name="friday" xsi:type="array">
            <item name="label" xsi:type="string" translate="true">Friday</item>
            <item name="value" xsi:type="string">friday</item>
        </item>
    </item>
</item>

The form element is added and shows the options.

The issue I’m having is that when I try to submit I get the following message:

Property “DeliveryDays-perpared-for-send” does not have accessor method “getDeliveryDays-prepared-for-send” in class “MagentoQuoteApiDataAddressExtensionInterface”.

I’ve found that the ui component magentomodule-uiviewbasewebjsformelementmultiselect.js is adding this to the data that is being sent:

/**
 * Sets the prepared data to dataSource
 * by path, where key is component link to dataSource with
 * suffix "-prepared-for-send"
 *
 * @param {Array} data - current component value
 */
setPrepareToSendData: function (data) {
    if (_.isUndefined(data) || !data.length) {
        data = '';
    }

    this.source.set(this.dataScope + '-prepared-for-send', data);
},

Why is M2 Multiselect UI Component adding a new field to be sent to the server?

What do I need to change to make M2 not show the error message AND save the submitted values?

magento2.3 – Installation Problem Magento 2.3.5p1 on Centos 7

I have been trying to install Magento on Centos 7 with Nginx and Maria Db for the past 2-3 days now but each time I got errors. I have tried several ways and changed Nginx configuration file and tried many possible solutions available on stackoverflow and Magento docs.

I was only able to install it correctly once, but that was giving me server level error i.e. php-fpm security.limit_extensions. Therefore, I made the necessary changes to Nginx and I am not getting this error anymore. However, now my installation has 404 error on all the CSS and other files. As shown in the image below.

Store Home Page:

enter image description here

Store Admin Panel
enter image description here

Nginx logs are full of errors like:

> 2020/07/05 08:23:45 (error) 8864#8864: *94 open()
> "/var/www/user/pub/static/version1593936946/adminhtml/Magento/backend/en_US/css/styles.css"
> failed (2: No such file or directory), client: x.x.x.x, server:
> www.lavestir.com, request: "GET
> /pub/static/version1593936946/adminhtml/Magento/backend/en_US/css/styles.css
> HTTP/1.1", host: "www.user.com", referrer:
> "https://www.user.com/index.php/admin_h7r4ak/admin/index/index/key/57fe0e9d24ad111c0afbf63b34a7fd456106047e74662ae8a/"

I have tried to give magento directory permissions with both, `files and & dir as 777′ and also as mentioned in Magento docs i.e.

find var generated vendor pub/static pub/media app/etc -type f -exec
chmod g+w {} + find var generated vendor pub/static pub/media app/etc
-type d -exec chmod g+ws {} +

But this does not help. I have tried to install with both users i.e. nginx:nginx and user that i added to nginx group user:nginx. The result is same, as shown in the above images.

My Nginx.conf file:

    server {
    listen   80;
    server_name  example.com;
    root /var/www/example;
    return   301 https://www.example.com$request_uri; 
    }
    server {
    listen   80;
    server_name  www.example.com;
    root /var/www/example;
    return   301 https://www.example.com$request_uri; 
    } 
    server {
    listen   443 ssl http2;
    server_name example.com;
    keepalive_timeout    70;
    root   /var/www/example;
    return   301 https://www.example.com$request_uri;

    gzip    on;
    ssl_certificate  /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key  /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot
    ssl_protocols   TLSv1.2;
    ssl_ciphers     EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!3DES;
    ssl_dhparam     /etc/nginx/conf.d/dhparam.pem;
    ssl_prefer_server_ciphers   on;
    ssl_session_tickets     off;
    ssl_session_cache       shared:SSL:10m; 
    }

    server {
    listen   443 ssl http2;
    server_name www.example.com;
    keepalive_timeout    70;

    gzip    on;
    #       modsecurity on;
    #       modsecurity_rules_file /etc/nginx/modsec/main.conf;

    ssl_certificate  /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key  /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot
    ssl_protocols   TLSv1.2;
    ssl_ciphers     EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!3DES;
    ssl_dhparam     /etc/nginx/conf.d/dhparam.pem;
    ssl_prefer_server_ciphers   on;
    ssl_session_tickets     off;
    ssl_session_cache       shared:SSL:10m;

    add_header   X-Frame-Options "DENY";
    add_header   X-Content-Type-Options nosniff;

    access_log  /var/log/nginx/example.access.log;
    error_log   /var/log/nginx/example.error.log;


    set $MAGE_ROOT /var/www/example;      root $MAGE_ROOT/pub;
          charset UTF-8;      autoindex off;
  
    location / {
            root   /var/www/example;
            #try_files $uri $uri/ = /404.html;
            if ($request_uri ~ ^/(.*).html$) {  return 302 /$1;  }
            try_files $uri $uri/ $uri.html $uri.php?$args;
            #try_files $uri $uri/ /index.php$is_args$args;
            index  index.php index.html;
            add_header   Strict-Transport-Security "max-age=63072000; includeSubdomains" always;
    }

    error_page 404 403 = /errors/404.php;
    # redirect server error pages to the static page /50x.html
    #
    error_page  500 502 503 504  = /errors/50x.php;

  # PHP entry point for update application        
  location ~* ^/update($|/) {
      root $MAGE_ROOT;
      index  index.php;
      location ~ ^/update/index.php {
          fastcgi_split_path_info  ^(/update/index.php)(/.+)$;
          fastcgi_pass   php-fpm;
          fastcgi_index  index.php;
          fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
          fastcgi_param  PATH_INFO        $fastcgi_path_info;
          include        fastcgi_params;
      }

      # Deny everything but index.php
      location ~ ^/update/(?!pub/). {
          deny all;
      }

      location ~ ^/update/pub/ {
          add_header X-Frame-Options "SAMEORIGIN";
      }       }


  location /pub/ {
  location ~ ^/pub/media/(downloadable|customer|import|custom_options|theme_customization/.*.xml)
  {
          deny all;
      }
      alias $MAGE_ROOT/pub/;
      add_header X-Frame-Options "SAMEORIGIN";        }

  location /static/ {
      # Uncomment the following line in production mode
      # expires max;

      # Remove signature of the static files that is used to overcome the browser cache
      location ~ ^/static/version {
          rewrite ^/static/(versiond*/)?(.*)$ /static/$2 last;
      }

      location ~* .(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$
      {
          add_header Cache-Control "public";
          add_header X-Frame-Options "SAMEORIGIN";
          expires +1y;

          if (!-f $request_filename) {
              rewrite ^/static/(versiond*/)?(.*)$ /static.php?resource=$2 last;
          }
      }

      location ~* .(zip|gz|gzip|bz2|csv|xml)$ {
          add_header Cache-Control "no-store";
          add_header X-Frame-Options "SAMEORIGIN";
          expires    off;

          if (!-f $request_filename) {
                  rewrite ^/static/(versiond*/)?(.*)$ /static.php?resource=$2 last;
          }
      }
          if (!-f $request_filename) {
          rewrite ^/static/(versiond*/)?(.*)$ /static.php?resource=$2 last;
      }
      add_header X-Frame-Options "SAMEORIGIN";        }

  location /media/ {
      try_files $uri $uri/ $uri.html $uri.php?$args;

      location ~ ^/media/theme_customization/.*.xml {
          deny all;
      }

      location ~* .(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {
          add_header Cache-Control "public";
          add_header X-Frame-Options "SAMEORIGIN";
          expires +1y;
          try_files $uri $uri/ $uri.html $uri.php?$args;
      }
      location ~* .(zip|gz|gzip|bz2|csv|xml)$ {
          add_header Cache-Control "no-store";
          add_header X-Frame-Options "SAMEORIGIN";
          expires    off;
          try_files $uri $uri/ $uri.html $uri.php?$args;
      }
      add_header X-Frame-Options "SAMEORIGIN";        }

  location /media/customer/ { deny all; }

  location /media/downloadable/ { deny all; }

  location /media/import/ { deny all; }

  location /media/custom_options/ { deny all; }

  location /errors/ {
      location ~* .xml$ { deny all; }        }

  # Deny access to sensitive files        
  location /.user.ini { deny all; }

  ######################################################################
  ######################################################################

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~* .php$ {
            root           /var/www/example;
            fastcgi_pass php-fpm;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            if ($request_uri ~ ^/((^?)*).php($|?)) {  return 302 /$1?$args;  }
            try_files $uri = 404;
            fastcgi_split_path_info  ^(.+.php)(/.+)$;
            fastcgi_param QUERY_STRING  $query_string;
            fastcgi_param REQUEST_METHOD  $request_method;
            fastcgi_param CONTENT_TYPE  $content_type;
            fastcgi_param CONTENT_LENGTH  $content_length;
            fastcgi_intercept_errors  on;
            
            fastcgi_param  PHP_FLAG  "session.auto_start=off n suhosin.session.cryptua=off";
            fastcgi_connect_timeout  600s;
            fastcgi_read_timeout  600s;
            fastcgi_buffers 1024 4k;
            include  fastcgi_params;
    }


  gzip_disable "msie6";       
  gzip_comp_level 6;      
  gzip_min_length 1100;
  gzip_buffers 16 8k;
  gzip_proxied any;
  gzip_types
      text/plain
      text/css
      text/js
      text/xml
      text/javascript
      application/javascript
      application/x-javascript
      application/json
      application/xml
      application/xml+rss
      image/svg+xml;      gzip_vary on;

  # Banned locations (only reached if the earlier PHP entry point regexes don't match)
  location ~* (.php$|.phtml$|.htaccess$|.git) {
      deny all;       }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /.ht {
            deny  all;
    } 
    }

I have set memory_limit to 3G and execution timeout to 18000. What am I missing here?

magento2.3 – Filter category products by quantity – Magento 2.3

My store allows backorders, so some of the products have quantity of 0. I want to create a switch on the category page on front-end for “hide out of stock products” which filters out products if quantity is <= 0 (or shows only products with qty between 1 and 9999999). Is this possible?

All products are set “in stock” so I can’t use the in stock / out of stock filter.

magento2.3 – Magento installation stuck at 51%

Step-1
Open the file and change replace validateURLScheme Method

vendormagentoframeworkImageAdapterGd2.php

private function validateURLScheme(string $filename) : bool
    {
      $allowed_schemes = ('ftp', 'ftps', 'http', 'https');
      $url = parse_url($filename);
      if ($url && isset($url('scheme')) && !in_array($url('scheme'), $allowed_schemes) && !file_exists($filename)) {
          return false;
      }
      return true;
    }

when you replace that method and retry the installation.

Step -2

if you face admin going to black than please chnage method isPathInDirectories in file
vendormagentoframeworkViewElementTemplateFileValidator.php

protected function isPathInDirectories($path, $directories)
    {
        $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));
        if (!is_array($directories)) {
            $directories = (array)$directories;
        }
        foreach ($directories as $directory) {
            if (0 === strpos($realPath, $directory)) {
                return true;
            }
        }
        return false;
    }

I hope this is helpful to you!!

magento2.3 – Integrity constraint violation: 1062 Duplicate entry for key ‘EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_NAME’

I’ve created a custom module that includes a script (InstallData.php) that adds a new attribute to an existing attribute group (Product Label):

'group' => 'Product Label'

However, when I enable the module and run setup:upgrade, I receive the following error:

Installing data... SQLSTATE(23000): Integrity constraint violation: 1062 Duplicate entry '10-Product Label' for key 'EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_NAME', query was: INSERT INTO `eav_attribute_group` (`attribute_set_id`, `attribute_group_name`, `sort_order`, `attribute_group_code`) VALUES (?, ?, ?, ?)

If I run the following database query I can see that there are two records with the group name ‘Product Label’, however I don’t see these
as duplicates as they belong to attribute set 10, and 4 respectively.

MariaDB (max)> select attribute_group_name, attribute_set_id from eav_attribute_group where attribute_group_name = 'Product Label';
+----------------------+------------------+
| attribute_group_name | attribute_set_id |
+----------------------+------------------+
| Product Label        |                4 |
| Product Label        |               10 |
+----------------------+------------------+
2 rows in set (0.00 sec)

Furthermore, I’m unable to delete these records as it will cause the attributes that are currently under those attribute labels to lose their current values.

Does anyone know what may be causing this issue? I have verified that the InstallData.php script works, by adding the attribute to the default group, this issue only occurs when adding the attribute to the attribute group ‘Product Label’.

magento2.3 – Hide access to Magento

I have a Magento that I would only like to access from another web portal. If the user copies the Magento base url, I don’t want the portal to appear. You should only be able to access Magento if the user comes from another web portal that I decide.
What options to implement do I have?
I have thought of concatenating an MD5 string to the URL and in the Magento nginx if the request comes with the string I allow access and if not give a forbidden is this option correct?
Is there an alternative already implemented in Magento to meet this need?

Thank you very much.

magento2.3 – Where is the “Set Product as New” attribute saved in the Magento 2.3 EE database?

I know that Magento 2 EE doesn’t utilize the “newsFromDate” and “newsToDate” attributes, but I can’t figure out where Magento EE is storing the data for the “Set Product as New” option on the products?

I’m trying to check if a product is new, but I’m unsure what to use to get that data if I can’t find it in the database. Any ideas?

magento2.3 – Install Data is not executed in magento 2

I am trying to create a category attribute:
This is my file form Vendor/Module/Setup:

use MagentoCatalogModelCategory;
use MagentoCatalogSetupCategorySetupFactory;
use MagentoFrameworkSetupInstallDataInterface;
use MagentoFrameworkSetupModuleContextInterface;
use MagentoFrameworkSetupModuleDataSetupInterface;

class InstallData implements InstallDataInterface
{

    private $categorySetupFactory;

    public function __construct(CategorySetupFactory $categorySetupFactory)
    {
        $this->categorySetupFactory = $categorySetupFactory;
    }

    public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
    {
        $installer = $setup;
        $installer->startSetup();
        $categorySetup = $this->categorySetupFactory->create(('setup' => $setup));

        $categorySetup->addAttribute(
            Category::ENTITY,
            'content_category_page',
            (
                'type' => 'int',
                'label' => 'Content Page',
                'input' => 'select',
                'sort_order' => 100,
                'source' => 'MagentoCatalogModelCategoryAttributeSourcePage',
                'global' => 2,
                'visible' => true,
                'required' => true,
                'user_defined' => false,
                'default' => null,
                'group' => 'General Information',
                'backend' => ''
            )
        );
        $installer->endSetup();
    }
}

The current version of the module is 1.0.1, so I increased it to 1.0.2 and run the setup:upgrade. After the module is updated to version 1.0.2 in the setup_module table, but my InstallData is not executed and the attribute is missing . Not sure what I am doing wrong here? Would you please advice ?

Thnx

magento2.3 – Magento 2.3.5 duplicate product infinite loop, run untill server crash

when i try to duplicate a product its magento 2.3.5 “upgraded latest version” go in infinite loop, its run until its reach max execution time or server crash, its throw me these errors? Please help me.

`
(2020-06-28 10:38:36) main.DEBUG: cache_invalidate: {“method”:”GET”,”url”:”http://127.0.0.1/live/admin/catalog/product/edit/id/197/key/f58058ba6c03be5edd8b0f5faf951e3bbf307c530dcc50b4c1b7ba851bf5e84b/”,”invalidateInfo”:{“identifier”:”LOCKED_RECORD_INFO_BLOCK_b4d60733c2b66b5e2f62ae9ebbcc445180163734″}} ()
(2020-06-28 10:38:37) main.DEBUG: cache_invalidate: {“method”:”GET”,”url”:”http://127.0.0.1/live/admin/catalog/product/edit/id/197/key/f58058ba6c03be5edd8b0f5faf951e3bbf307c530dcc50b4c1b7ba851bf5e84b/”,”invalidateInfo”:{“identifier”:”LOCKED_RECORD_INFO_BLOCK_5c806ecd4391423aca4c2f216f604a715f968e6b”}} ()
(2020-06-28 10:38:48) main.DEBUG: cache_invalidate: {“method”:”GET”,”url”:”http://127.0.0.1/live/admin/mui/index/render/key/4eeed3b237a129d80c72e1ee03eec04ad335e2f9f6eacdc1f9c716f8ea3f7fe7/?namespace=notification_area&sorting%5Bfield%5D=created_at&sorting%5Bdirection%5D=asc&isAjax=true”,”invalidateInfo”:{“identifier”:”LOCKED_RECORD_INFO_SYSTEM_CONFIG”}} ()
(2020-06-28 10:38:52) main.DEBUG: cache_invalidate: {“method”:”GET”,”url”:”http://127.0.0.1/live/admin/catalog/product/index/key/9d7765e721e7097967a6ae6662a531dd24b34b7f90f8559d7576d32a81f3e5ed/”,”invalidateInfo”:{“identifier”:”LOCKED_RECORD_INFO_BLOCK_060ff39ab289d35a68569aadc86118b1ac609e6d”}} ()
(2020-06-28 10:39:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“tags”:(“catalog_product_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:39:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“tags”:(“cat_p”),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:39:31) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:39:31) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:39:32) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:39:37) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“tags”:(“cat_p_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:39:37) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“tags”:(“cat_p_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:39:37) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p”),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p_54381″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:19) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54381(,|$))”}} ()
(2020-06-28 10:41:21) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_”),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:22) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p”),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:22) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54382(,|$))|((^|,)cat_c_p_31(,|$))”}} ()
(2020-06-28 10:41:22) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54382(,|$))”}} ()
(2020-06-28 10:41:22) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“servers”:(“(object) (LaminasUriUri: http://127.0.0.1:80/)”),”formattedTagsChunk”:”((^|,)cat_p_54382(,|$))”}} ()
(2020-06-28 10:41:25) main.CRITICAL: Wrong file {“exception”:”(object) (InvalidArgumentException(code: 0): Wrong file at G:xampphtdocslivevendormagentoframeworkImageAdapterGd2.php:64)”} ()
(2020-06-28 10:41:25) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p_54382″,”cat_c_p_31″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:25) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“cat_p_54382″,”cat_c_p_31″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:26) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:27) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:28) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:29) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:30) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:31) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()
(2020-06-28 10:41:33) main.DEBUG: cache_invalidate: {“method”:”POST”,”url”:”http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/”,”invalidateInfo”:{“tags”:(“catalog_product_54382″),”mode”:”matchingAnyTag”}} ()

`

magento2.3 – How to install Magento Opensource 2.3.x on Windows 10

This is Magento bug. Wrong paths to Windows are generated. The fixed fix is

Magento 2.3.0 – 2.3.3

#/vendor/magento/framework/View/Element/Template/File/Validator.php:140

the string

if (0 === strpos($realPath, $directory)) {
    return true;
}

to replace

$realDirectory = $this->fileDriver->getRealPath($directory);
if ($realDirectory && 0 === strpos($realPath, $realDirectory)) {
   return true;
}

If You can’t find out the (/vendor/magento/framework/) folder in magento 2.2.7 – 2.3.3 . Then You can check it here:

#libinternalMagentoFrameworkViewElementTemplateFileValidator.php

And your other magento version check this link :-

https://magento.stackexchange.com/a/252293/85907

After change your run command :-

php bin/magento c:c
php bin/magento c:f

Hope this help you

Thanks …