7

I ran into this problem as well. Possibly due to a module we installed, the attribute was created and deleted. What ended up working to run the upgrade, was to create the attribute in the database. With the following queries. INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`, `attribute_model`, `backend_model`, `backend_type`, ...


7

We user varnish and redis cache on our server and had this same error. This is the procedure we followed for a successful upgrade. composer require magento/product-community-edition 2.2.6 --no-update composer update rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* redis-cli flushdb curl -X 'PURGE' -H'X-Magento-Tags-Pattern: .*' ...


7

I found my problem, i used argument item <item name="template" xsi:type="string">templates/form/collapsible</item> it is used to display for collapsible structure. After remove this line of code is working fine. i think this error is occurred because we can not use tab structure and collapsible structure in single UI component form.


7

This could be down to the image being in the CMYK colour space, Imagick can have issues when working with these images as it is unable to convert to RGB properly. You can either upload a preconverted image, or trying patching in a way for Magento to deal with this issue with the use of setImageColourSpace and a nice little if around $image->...


7

The risk is minimal. You can restore all the data /consistency by the run of full indexation


6

I checked this issue again, seems like I was not the only one facing this. Problem seems to be fixed with this commit: https://github.com/magento/magento2/commit/8e1a5d342cbc63f58529b6c25be41c7d9a979a66 Some code has to be changed: $dirFiles = array_diff($dirFiles, ['..', '.']); instead of array_shift($dirFiles); /* remove './'*/ array_shift($...


6

I found a solution in the app/etc/di.xml file I have changed the following <virtualType name="developerMaterialization" type="Magento\Framework\App\View\Asset\MaterializationStrategy\Factory"> <arguments> <argument name="strategiesList" xsi:type="array"> <item name="view_preprocessed" xsi:type="object">Magento\...


6

I also came accross this error today, for me i discovered it was the Ebizmarts_MailChimp module that was causing the issue, you can disable the module entirely which corrected the issue or what i chose to do instead was rename the file /vendor/mailchimp/mc-magento2/view/adminhtml/layoutc/customer_index_edit.xml to customer_index_edit.xml.bak which ...


6

Have you seen this https://github.com/pavelleonidov/magento2-tinymce4 This should work. Only for Magento 2.1 and 2.2


5

This is original content of app/functions.php file: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Create value-object \Magento\Framework\Phrase * @deprecated The global function __() is now loaded via Magento Framework, the below require is only * for backwards compatibility ...


5

Main question: It's ok to delete these so long as you have other means to update the products not yet processed i.e. assuming you're going to manually ('update on save') or programmatically update these. If you are deleting ID's lower than the version in the view_state table then you're basically removing the entries from being processed next time the cron ...


5

It would be great if you can create a custom payment method like a Purchase order rather than change payment method code. I have explained all the steps for creating a new offline custom payment method using a custom module same as Purchase Order. 1 Create Registration.php file app/code/{VendorName}/{ModuleName} <?php /** * Copyright © Magento, Inc. ...


5

Found solution here : https://github.com/magento/magento2/issues/7624 Copy final_price.phtml from Vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml to Vendor/theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml change (around line 22) <?php if (!$block->isProductList() &&...


5

Having the exact same issue on 2.1.5 and 2.1.17. Our last UPS order came through April 15th at 9pm. With no configuration change, it stopped working on April 16th. You can possibly fix it by changing the gateway url to https rather than http So change http://www.ups.com/using/services/rave/qcostcgi.cgi to https://www.ups.com/using/services/rave/qcostcgi....


4

You have to add it in your current theme like this: app/design/frontend/{Yourtheme}/{name}/Magento_Theme/layout/default_head_blocks.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/framework/Module/etc/module.xsd"> <head> <css src="css/local.css" /> ...


4

You can create a '_module.less' file and then call your less files in it. Add your 'slick.less' and 'slick-theme.less' file under the following directory app/code/Vendor/Module/view/frontend/web/css/source Now create '_module.less' file as given below app/code/Vendor/Module/view/frontend/web/css/source/_module.less @import 'slick.less'; @import 'slick-...


4

You can do in your custom theme or in the custom module. Following code is from my custom module. app/code/Anshu/Custom/view/frontend/layout/cms_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <...


4

There is an issue in Magento v2.2.6 and v2.2.7 It has been fixed in the 2.2-develop branch, but hasn't been released yet. Here is the commit which fixes this issue. It is already fixed in the 2.3 version, and will be released for the v2.2.8.


4

Try to use $isHasOptions = $product->getTypeInstance()->hasOptions($product);


4

To change the label for First Name to Volunteer First Name , Last Name and Street Address. Copy locale's csv file from /vendor/magento/module-checkout/i18n folder to app/code/Magento/module-checkout/i18n directory. And Add: "First Name","Volunteer First Name" "Last Name","Volunteer Last Name" "Street Address","Volunteer Street Address" After saving ...


4

A quick solution according to your tests: $fullPath = $this->directorylist->getPath("media").'/catalog/product'.$product->getThumbnail();


3

You can try adding like 'MAGE_INDEXER_THREADS_COUNT'=>3 then the env.php will look something like following return [ 'backend' => [ 'frontName' => 'magento226administrator' ], 'crypt' => [ 'key' => '45625508600206a4c2d2f2bf406b23fb' ], 'db' => [ 'table_prefix' => '', 'connection' => ...


3

here username means , your magento.com account's public key. When you run composer ( upgrade / require ) from magento root folder you will be asked to provide these credentials. Also you can save these in your project root directory in auth.json file for later use, and magento will not ask for these credentials again and again. Check this URL to see where ...


3

You need to follow the below steps: Step 1: Create default_head_blocks.xml like below: app/design/frontend/[vendor]/[theme]/Magento_Theme/layout/default_head_blocks.xml Step 2: Andd create local.css like below app/design/frontend/[vendor]/[theme]/web/css/local.css Step 3: Add the below code to default_head_blocks.xml <?xml version="1.0"?> <...


3

Peter, It seems you are missing swatch image place holder. Either upload it from the backend or upload manually to below file path /home/public_html/vendor/magento/module-catalog/view/base/web/images/product/placeholder name should be swatch_image.jpg only.


3

We posted the same question on github for Magento 2. https://github.com/magento/magento2/issues/18134 I downgraded to 2.2.5 again using composer, used the database from the backup I created before, or just revert to the backup. Create the manufacturer attribute using the specs according to a original/clean 2.2.5 installation for that attribute. Again ...


3

So I've gone in a different direction to solve my problem and this is what I come up with. Create a custom product attribute called 'custom_canonical_url' and Input Validation for Store Owner set to 'URL'. Add the following to Vendor/Module/etc/di.xml to extend the Magento\Catalog\Helper\Product\View class. <preference for="Magento\Catalog\Helper\...


3

Please check with below step : Log in to the Magento Admin as an administrator. Click STORES > Configuration > ADVANCED > System > Full Page Cache. From the Caching Application list, click Varnish Caching. Enter a value in the TTL for public content field. Expand Varnish Configuration and enter the following information: Click Save Config.


3

you just need to add your text into language csv file, no need to override any js file app/design/frontend/Customtheme/default/i18n/en_US.csv add like "Add to Cart","Add to Basket" run below command php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy -f check your changes.


3

I just got a solution from this link So I am describing what I supposed to be followed 1) First I followed @Rohan Hapani's solution like hiding below method /** * Removes 'Web Setup Wizard' from the menu if doc root is pub and no setup url variable is specified. * * @param Builder $subject * @param Menu $menu * @return Menu * @SuppressWarnings(PHPMD....


Only top voted, non community-wiki answers of a minimum length are eligible