magento2

Click Orders and I'm getting “Information Changes have been made..”

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-28 05:31:56
问题 I have done a default installation of Magento 2.2.5 CE and when I click on an order in the Magento Admin I get the following error: "Order View. Information changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving" . The problem is that I haven't done any messing with the back end code and its a default install. Where am I going wrong? There doesn't seem to be any other error messages. (I haven't turned on developer

You cannot define a correlation name 'links' more than once

淺唱寂寞╮ 提交于 2021-01-27 11:21:30
问题 Hello and thank you in advanced. I have an error in product page of Magento 2.3: You cannot define a correlation name 'links' more than once trace: {"0":"You cannot define a correlation name 'links' more than once","1":"#0 /home/buybionette/public_html/vendor/magento/framework/DB/Select.php(298): Zend_Db_Select->_join('inner join', Array, 'links.linked_pr...', Array, NULL)\n#1 /home/buybionette/public_html/vendor/magento/zendframework1/library/Zend/Db/Select.php(357): Magento\Framework\DB

Unexpected end of JSON on GraphQL query with React while no issue with GraphiQL

心已入冬 提交于 2020-07-18 15:36:09
问题 I am trying to do a very basic query via React with Apollo. When I do this query in GraphiQL I nicely get my results back but in my app I get an undefined data object. And a error with a message: Network error: Unexpected end of JSON input The query is: query { category(id: 3) { id children { id name } } } This is my component import React, { Component } from 'react'; import { Query } from 'react-apollo'; import gql from 'graphql-tag'; const CATEGORIES_LIST = gql` query CATEGORIES_LIST {

Magento 2.2.6 /var/lib/mysql/ folder is taking 43 gb of disk space

自古美人都是妖i 提交于 2020-07-14 09:45:32
问题 Due to some reason my magento 2 website (Magento ver. 2.2.6) taking too much space from the server . Yesterday there is 1.2 gb available now only 240mb available . Please help on this . Please see the attached picture now UPDATE : I have found that most of the disk space is taken by /var/lib/mysql/webna this folder (42 gb) . Here webna is my database name .In that folder i can see lots of IBD , FRM, MYI files. There is on file inside the webna folder called mageplaza_smtp_log.ibd and it's

Active an extension based on condition in magento 2

本小妞迷上赌 提交于 2020-07-13 15:43:00
问题 Hi i have 2 payment method available in my magento2 store . One is cash on delivery and other is custom payment gateway . I install custom payment gateway extension and it is working fine . Now i have some conditions if that condition is ok then only i need to make active that custom payment gateway extension . My products have a product attribute called 'otherthancod' . If 'otherthancod' is active then only show the custom payment gateway in checkout page. For that i write the following code

get repoint to new remote repository

試著忘記壹切 提交于 2020-06-28 02:09:52
问题 I run on a Mac OSX. I have pulled down a vagrant box that is compatible with Magento, and then pulled down the Magento 2.0 codebase (develop branch) via git clone , and successfully installed it. I now have an installed, configured codebase tailored to our company. What I wan to do is: repoint where my local repo considers "master" or "origin" to exist to our company URL to a git push (I think that is correct) of the code to this blank repository. The logic is, now the dev team can pull that

get repoint to new remote repository

感情迁移 提交于 2020-06-28 02:09:31
问题 I run on a Mac OSX. I have pulled down a vagrant box that is compatible with Magento, and then pulled down the Magento 2.0 codebase (develop branch) via git clone , and successfully installed it. I now have an installed, configured codebase tailored to our company. What I wan to do is: repoint where my local repo considers "master" or "origin" to exist to our company URL to a git push (I think that is correct) of the code to this blank repository. The logic is, now the dev team can pull that

Newly Modified file , created and list huge files in CMD

霸气de小男生 提交于 2020-06-07 07:22:28
问题 I have magento 2.2.6 website in aws server (EC2).I am connecting to that aws sever using ssh in cmd From my windows 10 computer . I have a directory (folder) named Var in aws server. Inside var folder there are so many files and sub folder . Now i have the following question 1) I want to know the list of last modified files (or i want to get file modified after 2.00pm today ) 2) I want to know the list of last created files (or i want to get file modified after 2.00pm today ) 3) I want to