Questions tagged [magento2.3.0]

Denotes questions related to Magento CE and EE 2.3.0

Filter by
Sorted by
Tagged with
15
votes
1answer
509 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback Magento 2.3

I have installed Smile_Elasticsearch extension.It is working fine with the default mode but when I enabled developer mode it is showing an error. Warning: call_user_func_array() expects parameter 1 ...
13
votes
8answers
18k views

Invalid template file magento2.3.0

I have recently installed magento latest version i.e. Magento 2.3.0 in local wamp machine with php 7.2.4 Installed it using command line interface. But when i tired to run it show me error like ...
11
votes
8answers
8k views

Cannot process definition to array for type tinytext in Magento 2.3.0

I'm getting following error "Cannot process definition to array for type tinytext" on Magento 2.3.0 when executing php bin/magento setup:upgrade command. Thanks
10
votes
3answers
22k views

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

I have tried using bellow command but getting errors Command 1: composer require magento/product-community-edition 2.3.0 --no-update Command 2: composer update Output: Problem 1 - ...
8
votes
5answers
14k views

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

I'm using Magento 2.3.0, with php 7.2 version, on a ubuntu os. Everything looks working fine, but when I try to go into Magento backend, Content - Design/Configuration - Header, and I try to upload ...
8
votes
3answers
3k views

Magento 2.3 fresh installation issue : tinymce.js not load

Loading failed for the with source “/pub/static/adminhtml/Magento/backend/en_GB/tinymce.js”.
8
votes
2answers
1k views

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

I am trying to integrate CC avenue payment method with Magento 2.3 however once payment is processed, user is navigated back to website with error "Invalid Form Key. Please refresh the page." Upon ...
7
votes
3answers
1k views

Magento 2: Admin panel 3 level menu structure not working

I am trying to add a menu for my module in the admin panel. I want to add it like Grand Parent > Parent > Child structure. I have used below code in my menu.xml <?xml version="1.0"?> <...
7
votes
4answers
4k views

Email Functionality not Working in 2.3.0

In my custom module, I have added email functionality. It's working in 2.1 and 2.2. I have updated to 2.3.0 and now it crashes. Email send code is as below. $sender = [ 'name' => $...
6
votes
4answers
1k views

PHPSESSID: Session Cookie Does Not Contain the “Secure” Attribute

In m1 we could just override isSecure from Mage_Core_Model_Cookie model, method: public function isSecure() { return $this->_getRequest()->isSecure(); } How can we accomplish this in m2?
6
votes
2answers
3k views

Assign Inventory source while programmatically creating product

I have a custom script that read CSV and creates products programmatically, it was working fine with Magento 2.2.6, now I upgraded it to Magento 2.3, and with upgradation, I configured Multi-Source ...
5
votes
1answer
2k views

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

I'm trying to get Best Seller Product collection using below code, but it will not display any data $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productCollection = $...
5
votes
1answer
205 views

How to get imageUrl using Jquery in magento2?

I want to change Image src using jquery in magento2, So how can I get Imageurl in jQuery? <field name="default_template"> <argument name="data" xsi:type="array"> ...
5
votes
1answer
584 views

How to solve Unknown hashing algorithm: md5 in Magento 2.3.0?

I am facing below error since today morning. Warning: hash(): Unknown hashing algorithm: md5 in vendor\magento\framework\Encryption\Encryptor.php on line 189
5
votes
3answers
717 views

How can I test GraphQL of magento 2.3.0 in Wamp Server?

I have installed magento2.3.0 in localhost wamp server, It is working fine. When I'm trying to test GraphQL for PWA studio, I'm getting this error "TypeError: Failed to fetch".
4
votes
2answers
3k views

Magento 2 how create CMS page programmatically [duplicate]

I need any query or code to create CMS page programmatically, Please help me or suggest me if any module available for the same. Thanks :)
4
votes
1answer
424 views

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

After Upgrade 2.2.5 To 2.3.0 when i am runnung php bin/magento setup:upgrade it give bellow error: Schema creation/updates: SQLSTATE[HY000]: General error: 1823 Failed to add the foreign key ...
4
votes
1answer
70 views

Product to category redirect

Is there a way to link/redirect a product page to a category? Scenario: I have 70-80 new products that all go into the same category. I can either chose to put one of the products in the "News" ...
4
votes
1answer
2k views

Magento 2.3 Update Source Stock

Im currently creating a module that should update product quantity per source, based on SKU. Im using Magento\InventoryApi\Api\SourceItemsSaveInterface and Magento\InventoryApi\Api\Data\...
4
votes
2answers
680 views

How to drop a table in Declarative schema?

How to drop a table in Magento 2.3.0 using declarative schema ?
4
votes
5answers
2k views

Can anyone share the demo link of Magento 2.3.0 PWA Studio?

I'm not able to install PWA studio in my localhost wamp server. So, I want to test Magento 2.3.0 PWA studio. If anyone knows the demo link of Magento 2.3.0 PWA Studio, Please share the link.
4
votes
1answer
637 views

Magento 2.3.0 - SendGrid Email Delivery Module issue

I have installed "SendGrid Email Delivery" module on my magento (2.3.0 version) application. It installed successfully but when I tried to access it from admin panel to configure their settings after ...
4
votes
2answers
413 views

how form_key is forcefully required in the Magento 2.3?

form_key was always the required in the Magento, but in Magento 2.3 they made the form_key forcefully required. So, I want to know, how Magento is validating the form_key in every post request.
4
votes
2answers
744 views

How to Edit Header Content of a Custom Theme on Magento 2.3

Please could someone help me out! I want to edit the header content to either remove or hide the following sections: -Compare -The Store Switcher (ELLYANA STORE) -The Language Selector (ELLYANA_EN ...
4
votes
6answers
11k views

Error Magento 2.3.0 upgrade ( php requirement )

I'm upgrading Magento from 2.2.7 to 2.3.0 from composer. Running in sequence php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.0 --no-update composer update ...
4
votes
1answer
90 views

order time difference from magento 1 to magento 2 after migration

I have migrated Magento 1.9.3.1 to Magento 2.3.0 I have setup timezone India Standard Time(Asia/Kolkata). After migration created_time have differences of 5:30 hours. How can I fix the issue? For ...
4
votes
0answers
340 views

How to send magento 2 Order emails through mailchimp?

I have mail-chimp account and successfully integrated with my Magento2 website. I Want to send the order emails via mail-chimp. Newsletter subscription is working fine and syncing. Order is not ...
4
votes
0answers
60 views

How to load Ui-component form data using another column instead of primary field Magento 2?

I have created a form using Ui-component it is working fine while adding new form & edit form. But I would like to do customization as per my requirement. Default Magento Ui form data is display ...
3
votes
2answers
2k views

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

On Magento 2.3.0 i created simple product Then i added 1 customizable option with checkbox not required. After saving product when i click on Add to cart button without selecting checkbox (Because it ...
3
votes
1answer
1k views

magento 2 disable shipping calculation on cart page

How can i disable shipping calculation on cart page. Thanks.
3
votes
1answer
2k views

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

I have created a custom module using UI component form and i am facing issue while edit form data is not showing. Below is UI form code with given path. /app/code/Namespace/Modulename/view/...
3
votes
2answers
2k views

Magento 2.3.0: Create product attribute (yes/no) using db_schema.xml

How can we create new product custom attribute of type boolean(yes/no) using db_schema.xml(of custom extension) as InstallData or InstallSchema file is not being used in Magento 2.3.0 ?
3
votes
2answers
2k views

M 2.3.0: Can't Access Design Configuration - Global View page. Getting Error “Uncaught ReferenceError: Base64 is not defined.”

After updating to Magento 2.3.0 from 2.2.6, I am unable to access the Design Configuration - Global View page. When I open the page, the GIF Spinner keeps rotating, but the page never fully loads. ...
3
votes
1answer
5k views

Interceptor does not Exist

Hello guys , I am currently on magento version 2.3.0 and I am getting this error whenever I try adding a product in my admin panel. Can someone kindly assist me . After running php bin/magento setup:...
3
votes
1answer
2k views

Add product to wishlist using Ajax - get response message

I'm trying to implement adding product to wishlist using ajax. I have managed to do this but I can't get the success message from response ("You have added X product to wishlist"). require([ 'jquery'...
3
votes
2answers
381 views

Magento 2.3.0 How to add store filter in searchCriteriaBuilder

In my custom module, I am trying to add store filter in orderRepository using searchCriteriaBuilder but it is throwing an error like below. 1 exception(s): Exception #0 (Exception): Warning: PDO::...
3
votes
2answers
500 views

Search criteria builder does not filter an “out_of_stock” products

I am using Magento 2.3, Am filtering the product collection using the search criteria builder with a custom attribute as the filter. $filter1 = $this->_filterBuilder->setField('...
3
votes
1answer
1k views

Export to csv showing undefined index UiComponentFactory.php

I have used the below code in view : <exportButton name="export_button"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
3
votes
1answer
194 views

Magento 2.3.0 - Can't set to production mode

I want to put my store on production mode, I use this command on ssh: php bin/magento deploy:mode:set production And I have this output: Enabling maintenance mode Config "dev/debug/debug_logging = ...
3
votes
1answer
856 views

Magento 2.3 upgrade failed with PHP Fatal error: Uncaught Error: Class Zend\Code\Annotation\AnnotationManager Error

I've upgraded my Dev server from Magento 2.2.5 to 2.3 I had to install in increments by going from 2.2.5->2.2.6>2.2.7 and then on to 2.3 There were also a few modules I had to remove to get the ...
3
votes
1answer
27 views

Magento - upgrade a store that was installed without authentication key

I have a magento 2.1.9 and i want to upgrade it to magento 2.2.0 (or if possible straight to magento 2.3.0 even tho i think that that's not possible because of php version). But when the store was ...
3
votes
2answers
2k views

Magento 2 Custom REST API Json response

I have developed my custom rest API endpoint. Here is the code webapi.xml <?xml version="1.0" ?> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
3
votes
2answers
3k views

Unsupported declare 'strict_types' in Magento 2.3.0

Error : Unsupported declare strict_types in ../vendor/magento/inventory-composer-installer while install the extension using composer in Magento 2.3.0.
3
votes
1answer
1k views

Upgrade Magento 2.2.6 to 2.3.0 Resolving dependencies through SAT

I am trying to update my Magento CE 2.2.6 to CE 2.3 with composer but am getting the following. Reading C:/Users/garry/AppData/Local/Composer/repo/https---repo.packagist.org/provider-php-cs-fixer$...
3
votes
0answers
540 views

Facing issue when running the command php bin/magento setup:upgrade

Facing issue when running the command php bin/magento setup:upgrade The XML in file "D:/wamp64/www/porto/vendor/magento/module-inventory-catalog/etc/communication.xml" is invalid: Element 'topic', ...
3
votes
0answers
79 views

Magento2 : When Custom Price applied Product price is not displayed proper with tax on Cart

Steps to reproduce: 1.Please configure tax settings and tax rules as seen in screenshots. 2.Now login in storefront using Demo Customer Access provided by Magento (roni_cost@example.com). 3....
3
votes
3answers
355 views

Uncaught ReferenceError: $ is not defined at pricing.js:122 in magento 2.3.0

Hi am getting an uncought referecne error when adding a custom JS in my theme. On the console I am getting this error- pricing.js:122 Uncaught ReferenceError: $ is not defined at pricing.js:122 My ...
3
votes
0answers
40 views

Why the new keyword has been used directly?

Why the new keyword has been used in dispatch method in \Magento\Framework\Event\Manager class ? /** * Dispatch event * * Calls all observer callbacks registered for this event * ...
3
votes
0answers
102 views

How to add new custom dynamic link in magento2 top header links?

I want to add a custom dynamic link on top gray navigation bar besides welcome message when a specific user with a specific customer group is logged in. the main entry would be dynamic which will ...
3
votes
0answers
1k views

PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /vendor/magento/framework/Config/Dom.php:390

DOM package already install. also follows: sudo apt-get update then install php7.2-dom

1
2 3 4 5
7