52 votes
Accepted

Invalid template file magento2.3.0

Yes, This is the problem with windows. Windows uses "\" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail. So you need to fix this by ...
Saurabh Dwivedi's user avatar
51 votes
Accepted

Cannot process definition to array for type tinytext in Magento 2.3.0

You are getting this error because "data type" of any third-party extension's table's column is tinytext. Note: Normally this error happens because of Fishpig Wordpress extension's ...
Aasim Goriya's user avatar
  • 5,444
33 votes
Accepted

Magento 2.3.0 "A technical problem with the server created an error." When uploading the logo image

This is the bug in the Magento 2.3 version, but you can fix the issue by the change in the below code. Go to this file: /vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml ...
Aasim Goriya's user avatar
  • 5,444
26 votes
Accepted

How to Upgrade magento version from 2.2.X to 2.3.0?

I think you are skipping some steps. Make sure you are specifying additional packages required : composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8....
Daniel's user avatar
  • 276
22 votes

Invalid template file magento2.3.0

For me, solution worked is by going to the file \vendor\magento\framework\View\Element\Template\File\Validator.php and replacing the below function definition as below: protected function ...
Tejas Vyas's user avatar
19 votes
Accepted

Magento 2.3.0: How to add TIMESTAMP_INIT as a default value in declarative schema?

You have to need update created_datetime and updated_datetime with on_update="false" and on_update="true" in db_schema.xml app\code\Namespace\Module\etc\db_schema.xml <column xsi:type="...
Kirti Nariya's user avatar
  • 3,461
14 votes

Cannot process definition to array for type tinytext in Magento 2.3.0

In my case, Wordpress was being used with the Fishpig integration. In wp_comments, the comment_author was set to TINYTEXT. The problem was resolved by changing that column declaration.
bassplayer7's user avatar
  • 2,186
12 votes

We can't find products matching the selection

i was facing this challenge and was almost frustrated when i finally got how to fix it. For me I used this i used the code below to view the table sql command select * from catalog_eav_attribute cea ...
Isma'il's user avatar
  • 121
11 votes

Magento 2.3.0 While edit UI component form data not filled up in custom module

If you use setting tags in ui-component. You need to add data return include fieldset. Example field "priority" will show "name='general['priority']' " Your loadedData in function getData() should ...
the light's user avatar
  • 708
10 votes

How to Upgrade magento version from 2.2.X to 2.3.0?

Here are the steps to upgrade Magento 2.2.x to 2.3.0 Step 1: Backup code and database Step 2: composer require magento/product-community-edition=2.3.0 --no-update Step 3: composer require --dev ...
chirag dodia's user avatar
  • 2,112
10 votes

Delete All products

I recently have written a Codeblog about this https://codeblog.experius.nl/magento-2-remove-sample-data-test-data/ If you really want to delete all products and their related data you could use ...
Mr. Lewis's user avatar
  • 1,921
9 votes

How to Upgrade magento version from 2.2.X to 2.3.0?

Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts: Part 1: php bin/magento deploy:mode:set developer php bin/magento cache:disable php ...
eVagabond's user avatar
  • 445
9 votes
Accepted

Email Functionality not Working in 2.3.0

Finally I have Found Solution and Now it's Working $sender = [ 'email' => $this->_escaper->escapeHtml($customer_email), 'name' => $this->_escaper->...
Magecode's user avatar
  • 1,504
9 votes
Accepted

After Upgrade 2.2.5 to 2.3.0 Getting Error:CMS_BLOCK_STORE_BLOCK_ID_CMS_BLOCK_BLOCK_ID' to system tables,

The error was due to Duplicate tables in a database, BK_cms_block. I copied table and renamed it for backup purpose and the table was creating issue , so I just deleted BK tables and the error got ...
Navin Bhudiya's user avatar
8 votes

Cannot process definition to array for type tinytext in Magento 2.3.0

If you do WordPress migrations frequently, changing the schema as suggested in some of the other answers is tedious and easy to forget, plus changing the schema seems hacky. To resolve this, I wrote ...
Phil Birnie's user avatar
8 votes

Magento 2 Query to get SKU, Product Details ,more information

You don't need to write any query for product collection in magento please use below code for get products data in .phtml or any custom module, Using Factory Method <?php namespace Test\Module\...
Aasim Goriya's user avatar
  • 5,444
8 votes
Accepted

Magento 2 : How to get the best seller product collection?

Please try this code to get best seller product collections using objectManager. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productCollection = $objectManager->create('...
Aasim Goriya's user avatar
  • 5,444
8 votes
Accepted

Magento 2.3 Update Source Stock

You need to create sourceItem objects, therefore I have injected a factory for that in your constructor. You can use the following code - it should work for you. since the constructor has changes, you ...
HelgeB's user avatar
  • 4,501
8 votes

We can't find products matching the selection

In my case I tried to re-index but noticed the index failed for esatic search: Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster i resolved by running: ...
David Bayley's user avatar
7 votes
Accepted

Magento 2 how create CMS page programmatically

Create CMS Page By Installer In Magento 2 ā€“ Before you start you must have knowledge of Magento 2 custom module creation, So create your custom module first. Here Iā€™m going to explain you how you can ...
Aasim Goriya's user avatar
  • 5,444
7 votes

Magento 2.3 fresh installation issue : tinymce.js not load

search for text 'tinymce' in your web magento directory 2.3 not use tinymce anymore so somewhere in your web still use tinymce so you get this problem because magento can't find define tinymce I ...
mrtuvn's user avatar
  • 3,273
7 votes

Magento 2.3.0 - Transactional Email > Logo Image upload not working

This is caused by a bug in magento 2.3.0, which will be fixed in 2.3.1 release. You obviously cannot wait until then and you definitely don't want to edit core files. ref: https://github.com/magento/...
ProxiBlue's user avatar
  • 9,926
7 votes
Accepted

magento 2.3.0 Product With customizable options showing error The product's required option(s) weren't entered

There is a fix submitted for 2.3.1, but you could manually apply it to 2.3.0. Depending on how you installed Magento, the path could also be vendor/magento/module-catalog/Model/Product/Option/Type/...
Joey Carder's user avatar
7 votes
Accepted

How to bypass CSRF validation for certain requests like payment gateway webhook?

You can add a formKey to your request. Magento checks in the validateRequest function at Magento\Framework\App\Request\CsrfValidator if the request is intance of CsrfAwareActionInterface, not a post ...
gemig_hol's user avatar
  • 871
7 votes
Accepted

Magento 2.3.0 WYSIWYG editor's image not loading on frontend

You need to filter that content using cms page filter. Try following way: public function __construct( \Magento\Cms\Model\Template\FilterProvider $filterProvider ) { $this->_filterProvider = ...
Sohel Rana's user avatar
  • 35.7k
7 votes
Accepted

How to add Cancel/Ok button within Minicart and remove popup

First of all please override sidebar.js file in your custom theme. So In theme, add a js file sidebar.js to app\design\frontend\[NAMESPACE]\[THEME]\Magento_Checkout\web\js\sidebar.js if not exist ...
Aasim Goriya's user avatar
  • 5,444
6 votes

Invalid template file magento2.3.0

Magento 2.3 does not support windows. You can find my solution here: enter link description here
Vincent's user avatar
  • 61
6 votes

Magento 2.3.0 "A technical problem with the server created an error." When uploading the logo image

This is a Magento 2.3 bug, added wrong value for formElement for field header_logo_src You can go to the file vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml and in ...
Arshad M's user avatar
  • 866
6 votes
Accepted

Export to csv showing undefined index UiComponentFactory.php

<!-- <selectionsColumn name="ids"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="resizeEnabled" xsi:type="boolean">false</item&...
Rutvee Sojitra's user avatar
6 votes

How to drop a table in Declarative schema?

Please follow below steps for drop table using db_schema.xml in Magento 2.3.X 1) Disable table First of all, you need to add disabled="true" attribute in your table node. <table name="abcd" ...
Deexit Sanghani's user avatar

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