Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [php-7.2]

Marks questions related to Magento on php 7.2

0
votes
1answer
19 views

Add Custom field for Category in magento2

I want to add TextArea in Admin Edit category Page. How to do this.
6
votes
4answers
204 views

How to override model in magento2?

I want to remove the below lines in Magento\Quote\Model\PaymentMethodManagement model file if (!$this->zeroTotalValidator->isApplicable($payment->getMethodInstance(), $quote)) { ...
2
votes
0answers
35 views

Fatal error lib/Varien/Crypt/Mcrypt.php

When accessing payment methods menu in admin panel (Magento 1.9.2.2) I get the following fatal error. And in the frontend this: I asked my hosting company to instal mCrypt module on Server as shown ...
2
votes
1answer
43 views

How to get custom local storage value in magento2?

How to get custom local storage value in magento2? I need to get the custom local storage value in php file . How to do that Thanks.
6
votes
1answer
106 views

How to add class in ko template in magento2

I want to add class in ko template In js: define([ 'jquery', 'ko', 'uiComponent', 'underscore', 'mage/translate', 'mage/storage', '...
0
votes
1answer
12 views

Magento production mode note set

Magento production mode note set display like http://prntscr.com/n6kl5q VPS server 8GB RAM, Nginx server php vesion :Php 7.2 /etc/php/7.2/fpm/php.ini (php Memory limit =4G) /etc/php/7.2/cli/...
0
votes
0answers
31 views

Magento 1.9.4.0 suddenly stops working with PHP 7.2, needed to downgrade to PHP 5.6

We changed our PHP to 7.2 a week ago. There were no problems but suddenly after a week there was a problem. Users were redirected to the cart after pressing the "Confirm Order" button on Checkout page ...
1
vote
0answers
32 views

Magento 2.3 Constructor failed? [closed]

I have site run on hosting. but I get issue vendor/magento/framework/Stdlib/DateTime/Timezone.php(123): IntlDateFormatter->__construct('el_GR', 3, -1) Anybody have any idea help me check that?
1
vote
1answer
31 views

Mismatched Magento version while using composer

I currently have Magento running on Ubuntu Xampp, and attempted to run composer on a theme file, which prompted me to install a load of PHP extensions. I did this (7.2 for all of them, same as system ...
1
vote
0answers
47 views

CatalogSearch is not working after upgrading to Magento 2.3

Recently I've upgraded from Magento 2.2 to Magento 2.3. After upgrading, CatalogSearch is redirecting to Home page of the website. Previously I /catalogsearch/result was working and shown all ...
1
vote
1answer
32 views

Add side bar in custom layout in magento2?

I want to display the subcategory and product tabs in category page .So i have customise the layout file . How to do this.. Thanks.
2
votes
1answer
120 views

Warning: count(): Parameter must be an array or an object that implements Countable

I have this code: public function getCounter() { /** @var \Amasty\ShopbyPage\Model\Page $model */ $model = $this->_coreRegistry->registry(RegistryConstants::PAGE); ...
1
vote
1answer
33 views

How to add sidebar in custom layout in magento2?

I want to add sidebar All Product tab in custom layout in magento2? How to do that. Thanks.
2
votes
1answer
46 views

Create attribute programmatically in magento2.3

I need to create brand attribute in fabric attribute set. <?php namespace XXX\YYY\Setup\Patch\Data; use Magento\Framework\Setup\Patch\DataPatchInterface; use Magento\Framework\Setup\Patch\...
0
votes
1answer
84 views

Magento 2.3 : Insert data into table using DeclarativeSchema

I have created upgrade data for insert the values for particular table <?php namespace XXX\YYY\Setup; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\...
1
vote
1answer
94 views

SoapFault: looks like we got no XML document - Magento and laravel

I am with a problem in my application Laravel, when i use the SoapClient, for example my_object_soap->login(); returned this error: Fatal error: Uncaught SoapFault exception: [Client] looks like ...
1
vote
1answer
43 views

How to add new grid in product form in magento2

How to add custom grid exactly related products grid in admin product form Magento2. I want to insert custom grid under related product grid. That grid is a exact copy of related product concept.
1
vote
2answers
99 views

How to create a dynamic fields in admin form?

I want to add add new button template in admin form like this... How to do that? Thanks.
1
vote
2answers
84 views

Get product attribute measurement in magento2

How to get the width of Product UoM in magento2 Ex: Weight : 100 cm Thanks.
1
vote
1answer
47 views

Custom tab in admin product page in magento2

I have created custom tab and added template for this tab using this link. app/code/Namespace/Modulename/view/adminhtml/ui_component/product_form.xml <form xmlns:xsi="http://www.w3.org/...
3
votes
2answers
73 views

Remove the attribute programmatically in magento2?

I want delete the existing attribute called Manufacturer. Check if this attribute exists before deleting. How to do this. Thanks.
1
vote
1answer
49 views

How to add the option value for the product attribute in magento2

How to give the option value for the product attribute programmatically. I need to give the option value for manufacturer attribute drop down field. I have created admin grid for manufacturer ...
1
vote
3answers
91 views

Composer install issue in Magento 2.3?

I have one issue when I run composer install command. How to solve this issue. Thanks.
1
vote
0answers
17 views

How to add custom footer template for product view page in magento2

How to add custom footer template for product view page in magento2. How to do that. Thanks. Update: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template ...
0
votes
1answer
20 views

Add custom template in footer in magento2

I have added the custom template in footer. It displayed in all page .But in view page its throwing 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
2
votes
1answer
58 views

Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given

When i trying to install data migration tool then getting this error in SSH PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() ...
1
vote
0answers
71 views

Magento 2.3 Fatal error: '\self' is an invalid class name

I'm getting the following error on Magento 2.3: Fatal error: '\self' is an invalid class name in /private/var/www/xxx/generated/code/Magento/Indexer/Model/Indexer/DependencyDecorator/Interceptor....
1
vote
1answer
91 views

DKIM body signing issues on Magento emails

I've got magento 2.3 running on apache with php 7.2. I've got email going out through postfix. I'm trying to get DKIM set up using opendkim. The issue i'm seeing is that emails with html formatting ...
0
votes
0answers
222 views

Magento 2.3 Fatal error: Uncaught Error: Call to undefined function mime_content_type()

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in when trying to upload image from admin blocks. Please check screenshot
1
vote
1answer
189 views

PHP 7.2 session_set_save_handler() cannot change save handler

So i'm struggling with updating PHP for my magento from 7.0 to 7.2. Currently running Magento version 1.9.4.0. And i get those errors now on a save event in my ERP system Warning: ...
2
votes
1answer
114 views

Magento 1.9.4.0 PHP 7.2 Cron job problems

My settings: Server OS ‪Debian 9.6‬ Plesk 17.8.11 Magento 1.9.4.0 PHP 7.2 When I run schedule task cron.sh I get this: Task "/httpdocs/cron.sh" successfully completed in 0 seconds, output: /...
0
votes
0answers
37 views

Urgent Installation Failed

The installation stops before starting with the Error message that "base table not found" I have already added the table to the database and its there, but it keeps giving this message that ...
2
votes
1answer
560 views

Magento 2.3 PHP Parse error unexpected '?' in write.php

I want to Install cron with putty SSH. I use php bin/magento cron:install [--force] and get this error: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /www/...
0
votes
0answers
169 views

Magento 2.2.7 to 2.3.0 Check Component Dependency Problem

when trying to upgrade i cannot get the wizard to work. I keep getting the following error yet when i check the PHP version using command line in the public_html folder it shows 7.2 ? Command "update"...
0
votes
1answer
406 views

Magento 1.9.4.0 admin not working on php 7.2

I have upgrade my site form 1.9.3 to 1.9.4 and update php version from 5.6 to 7.2. In php version 5.6 both admin and front working fine but on php 7.2 front working fine, but when i login into admin ...
0
votes
1answer
414 views

Cannot upgrade to 2.3.0 using Web Setup Wizard

I cannot upgrade using the admin System upgrade wizard. When I run the readiness checks everything passes apart from "Check Component Dependency". The problem reads: " We found conflicting ...
0
votes
2answers
759 views

magento 2 : logo image file could not be selected / uploaded

In content > design > configuration theme , I try to upload new logo by click on the Upload button. However, after select the image from PC, the ajax icon only spin a couple of times and then ...
7
votes
4answers
5k 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 ...
15
votes
13answers
5k views

SUPEE-10975 Potential Issues

SUPEE-10975 has been released, it would be great to know if anyone runs into any issues while trying to apply this, will this conflict with the most recent patch that adds 7.2 support? So far these ...
0
votes
1answer
257 views

Magento CE 1.9 Patch for PHP 7.2 - puzzle

we're planning to upgrade PHP from 5.6.30 to PHP 7.2 I've downloaded this patch from the magento site PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2 I haven't seenthat extension .2_v2 before ...
0
votes
1answer
186 views

Patch for php 7.2, many deprecated functions

I've just installed Magento 1.9.3.10, which contains the patch that supports PHP 7.2. In Dev mode I get many errors of deprecated functions. Such as: Deprecated functionality: The each() function is ...
1
vote
1answer
412 views

Why does Magento 1.9.3.10 does not include /lib/mcrypt_compat/mcrypt.php

Magento released a patch for magento 1.9.3.x to be able to support php7.2. The patch includes /lib/mcrypt_compat/mcrypt.php so that php7.2 which does not have the mcrypt module (at least officially), ...
0
votes
1answer
59 views

php 7 string to array convertion

I have a little code to create an order which don't work with php7 foreach ($object['products'] as $productInfoSrc) { $productId = $productInfoSrc['product_id']; $qty = $...
0
votes
1answer
336 views

M1 PHP7.2 Patch - Customer Registration - “A non-numeric value encountered”

I encountered an issue with Magento 1.9.2.4 and the PHP7 Patch: If I choose optional DOB and register without DOB, the logfile shows an error: 2018-10-16T09:45:59+00:00 ERR (3): Warning: A non-...
2
votes
0answers
66 views

How to create a parent category dropdown in admin form in magento2.2

I want to create a drop-down field in admin UI-component form in magento2.(for getting parent category/post) How to do that How to do that Thanks
1
vote
2answers
414 views

Magento 1 Updated with php 7.2 does not show products in beckend

I updated magento 1 to the latest version 1.9.3.10 and then set the php on the server to version 7.2, I also tested version 7.1, and find that with these versions of php the list of products in the ...
2
votes
0answers
293 views

PHP 7.2 Support Patches for Magento 1

Magento released a bunch of patches today for M1 compatibility with PHP7. This is great news as PHP7 is so much faster. Before we go ahead and apply them, I would like to know if anyone encountered ...
2
votes
1answer
404 views

New Magento1 patch for php 7.2 - how to make it work with Magento 1.13?

I am dealing with an old website with a lot of custom modules running on Magento 1.13 (obviously, EE). I am very excited to see official support for php7.2 - however, I can see that the patch is ...
6
votes
3answers
6k views

each() function deprecated php 7.2 , magento 2 [duplicate]

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /vendor/magento/zendframework1/library/Zend/Cache/Backend.php on line 79 this function showing on ...
6
votes
5answers
11k views

The each() function is deprecated. Magento 2 , php 7.2

I have been getting this error since I changed to PHP-7.2 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/vedic/vendor/...