As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [php-7.2]

Marks questions related to Magento on php 7.2

Filter by
Sorted by
Tagged with
8 votes
6 answers
29k 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 ...
alexcr's user avatar
  • 1,467
16 votes
15 answers
7k 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 ...
Razentic's user avatar
  • 165
8 votes
5 answers
33k 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/...
Surendra Kumar Ahir's user avatar
4 votes
1 answer
3k views

Magento 2.3.1 - Issue with catalog search when using php7.2-fpm

When we search any string from the search text box, We have encountered a 500 server error into the search result page in our live web site or search page getting blank. When we check in logs or ...
Emipro Technologies Pvt. Ltd.'s user avatar
3 votes
2 answers
4k 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.
Mahi M's user avatar
  • 2,530
0 votes
2 answers
3k views

AJAX IN MAGENTO2.HOW TO ADD information from form IN DATABASE?

I already have a form and controller action, that send data without using ajax.How to do it with AJAX? I would appreciate your help! view/frontend/templates/reviews.phtml <form action="<?...
pixartN's user avatar
  • 29
7 votes
4 answers
2k 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)) { ...
Mahi M's user avatar
  • 2,530
6 votes
3 answers
20k 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 ...
Surendra Kumar Ahir's user avatar
3 votes
2 answers
7k 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.
Mahi M's user avatar
  • 2,530
2 votes
2 answers
1k views

Extension Installation Readiness Check Error Magento 2.3.1

There are several errors when I'm trying to install an extension (Slider Banner Module) for the first time. The picture below shows the error in the readiness check. I'm using GoDaddy > C-Panel > ...
Nicholas Chow's user avatar
2 votes
1 answer
3k 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
sumeet bajaj's user avatar
  • 1,195
2 votes
2 answers
4k views

How to override view.xml file in custom module

I have change magnifier vars in view.xml file under luma theme. Its working fine . I have change it in my custom module like this ... app/code/XXX/YYY/etc/view.xml. <view xmlns:xsi="http://www....
Mahi M's user avatar
  • 2,530
0 votes
1 answer
327 views

Magento 2 delete one month old files or images

The below code will delete pub/media/tmp directory and sub directory all files which is older than one month.By the help of core php function.
Vikas kalal's user avatar
  • 1,132
0 votes
3 answers
104 views

Magento Performance Down sometimes

I am trying to optimise Database and Code because some time its going not well, I saved session in database so when database size are increase My site performance is also bad. Also I need to handle ...
Ajay Patel's user avatar
  • 1,503