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
1 vote
0 answers
35 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 ...
Mahi M's user avatar
  • 2,530
0 votes
1 answer
55 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 ...
Mahi M's user avatar
  • 2,530
2 votes
2 answers
2k 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() ...
sumeet bajaj's user avatar
  • 1,195
1 vote
0 answers
341 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....
user76932's user avatar
2 votes
1 answer
676 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 ...
djohnson'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
1 answer
474 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: /...
Alex's user avatar
  • 21
0 votes
0 answers
61 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 ...
Adedoyin's user avatar
2 votes
1 answer
2k 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/...
Marcel's user avatar
  • 165
1 vote
1 answer
620 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 ...
Khodu Vaishnav's user avatar
0 votes
1 answer
657 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 ...
Andy Semmens's user avatar
0 votes
2 answers
2k 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 ...
magedev207's user avatar
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
0 votes
1 answer
364 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 seen that extension .2_v2 before ...
Yeyeo's user avatar
  • 17
0 votes
1 answer
1k 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 ...
BOES's user avatar
  • 210
1 vote
1 answer
2k 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), ...
dhojgaard's user avatar
  • 131
0 votes
1 answer
72 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 = $...
mben's user avatar
  • 1
1 vote
3 answers
1k 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-...
ulbiopro's user avatar
2 votes
0 answers
125 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
Mahi M's user avatar
  • 2,530
1 vote
2 answers
616 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 ...
Joso's user avatar
  • 317
2 votes
0 answers
333 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 ...
Haim's user avatar
  • 2,104
2 votes
1 answer
480 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 ...
Wladyslaw Brodsky's user avatar
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
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
0 votes
0 answers
491 views

Home Page url in sitemap

How to find out the home page url in sitemap generated url.... I have created site map in magento2.2.4. I want to customize homepage url.But that url does not display in sitemap generated url. How ...
Mahi M's user avatar
  • 2,530
0 votes
1 answer
54 views

Problem launching Magento 2 wizard on my MAC

I have a problem starting the installation process on my mac. Can't launch the set up wizard. These are the changes I made to my php.ini file /Applications/MAMP/bin/php/php7.2.1/conf/php.ini: ...
LEGIDE's user avatar
  • 3
6 votes
2 answers
15k views

Magento 2.2 is not working in PHP 7.2.0

I am working on Magento 2.2. Recently I updated my PHP version to 7.2.0, then i am facing the Warning like this: My file.php is : <?php /* ==New BSD License== Copyright (c) 2012, Colin ...
Viraj Shah's user avatar

1 2
3