-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in final step: install-sampledata #11
Comments
It looks the sample data of Magento 2.2.2 doesn't work with Magento 2.2.2,
although the error message looks weird to me. I checked the file, the
class Symfony\Polyfill\Php72\Php72
was actually there.
For now, you should use 2.2.1 if you want to use the sample data. I tested
2.2.1, it works fine.
…On Sun, Jan 7, 2018 at 3:22 AM, pascal-linux ***@***.***> wrote:
I am using docker on Win10 Pro (which works without Problems) and wanted
to install your Magento2 Containers (Version 2.2.2). I downloaded the git
and followed the instructions.
Everything works well until the final step:
Here are the last lines on my command prompt:
....
- Installing magento/module-sales-sample-data (100.2.1): Downloading
(100%)
Package sjparkinson/static-review is abandoned, you should avoid using
it. Use phpro/grumphp instead.
Writing lock file
Generating autoload files
Fatal error: Uncaught Error: Class 'Symfony\Polyfill\Php72\Php72' not
found in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php:29
Stack trace:
#0 /var/www/html/vendor/composer/autoload_real.php(70): require()
#1 <#1>
/var/www/html/vendor/composer/autoload_real.php(60):
composerRequire8c2811ee3eb8dbe884f05970a3bc19a1('25072dd6e247008...',
'/var/www/html/v...')
#2 <#2>
/var/www/html/vendor/autoload.php(7): ComposerAutoloaderInit8c2811ee
3eb8dbe884f05970a3bc19a1::getLoader()
#3 <#3>
/var/www/html/app/autoload.php(30): include('/var/www/html/v...')
#4 <#4>
/var/www/html/app/bootstrap.php(30): require_once('/var/www/html/a...')
#5 <#5>
/var/www/html/bin/magento(14): require('/var/www/html/a...')
#6 <#6> {main}
thrown in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php on
line 29
Fatal error: Uncaught Error: Class 'Symfony\Polyfill\Php72\Php72' not
found in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php:29
Stack trace:
#0 /var/www/html/vendor/composer/autoload_real.php(70): require()
#1 <#1>
/var/www/html/vendor/composer/autoload_real.php(60):
composerRequire8c2811ee3eb8dbe884f05970a3bc19a1('25072dd6e247008...',
'/var/www/html/v...')
#2 <#2>
/var/www/html/vendor/autoload.php(7): ComposerAutoloaderInit8c2811ee
3eb8dbe884f05970a3bc19a1::getLoader()
#3 <#3>
/var/www/html/app/autoload.php(30): include('/var/www/html/v...')
#4 <#4>
/var/www/html/app/bootstrap.php(30): require_once('/var/www/html/a...')
#5 <#5>
/var/www/html/bin/magento(14): require('/var/www/html/a...')
#6 <#6> {main}
thrown in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php on
line 29
What do I wrong? Should I test your older versions??
Thanks!
PAscal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABHgEH-v5-pxhCSn14CkQ_E_bS0szmaWks5tH4GkgaJpZM4RVUyJ>
.
--
Regards
Alex Cheng
|
Still the same Problem Still the same error message You are right - the file "./symfony/polyfill-php72/Php72.php" exists - maybe missing environment variables? Thanks! |
You don't need to change the Dockerfile, just use the tag 2.2.1. Update the
docker-compose.yml file to use the alexcheng/magento2:2.2.1 image.
You can also use other tags: 2.2.0 or 2.1.9. See all tags here (
https://hub.docker.com/r/alexcheng/magento2/tags/)
…On Wed, Jan 10, 2018 at 12:04 AM, pascal-linux ***@***.***> wrote:
Still the same Problem
(I just adapted the Dockerfile from "ENV MAGENTO_VERSION 2.2.2" to "ENV
MAGENTO_VERSION 2.2.1").
Still the same error message
Fatal error: Uncaught Error: Class 'Symfony\Polyfill\Php72\Php72' not
found in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php:29
Stack trace: #0 /var/www/html/vendor/composer/autoload_real.php(70):
require() #1 /var/www/html/vendor/composer/autoload_real.php(60):
composerRequire8c2811ee3eb8dbe884f05970a3bc19a1('25072dd6e247008...',
'/var/www/html/v...') #2 /var/www/html/vendor/autoload.php(7):
ComposerAutoloaderInit8c2811ee3eb8dbe884f05970a3bc19a1::getLoader() #3
/var/www/html/app/autoload.php(30): include('/var/www/html/v...') #4
/var/www/html/app/bootstrap.php(30): require_once('/var/www/html/a...')
#5 /var/www/html/bin/magento(14): require('/var/www/html/a...') #6 {main}
thrown in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php on
line 29
You are right - the file "./symfony/polyfill-php72/Php72.php" exists -
maybe missing environment variables?
Thanks!
Pascal
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHgEJo_Yg8ioYhJfxQJlPCrUylfjuW_ks5tI0etgaJpZM4RVUyJ>
.
--
Regards
Alex Cheng
|
It works perfectly now! |
Close as a Magento issue. |
@alexcheng1982 Sorry to wake up a closed thread, but I downloaded a zip of master today (96a2aa4) and tried the |
@alexcheng1982 hi, so with the comment of @michaellopez , are the sample data ok now ? |
@alexcheng1982 This workaround no longer works as 2.2.1 doesn't include the bcmath extension. |
I am using docker on Win10 Pro (which works without Problems) and wanted to install your Magento2 Containers (Version 2.2.2). I downloaded the git and followed the instructions.
Everything works well until the final step:
Here are the last lines on my command prompt:
....
Package sjparkinson/static-review is abandoned, you should avoid using it. Use phpro/grumphp instead.
Writing lock file
Generating autoload files
Fatal error: Uncaught Error: Class 'Symfony\Polyfill\Php72\Php72' not found in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php:29
Stack trace:
#0 /var/www/html/vendor/composer/autoload_real.php(70): require()
#1 /var/www/html/vendor/composer/autoload_real.php(60): composerRequire8c2811ee3eb8dbe884f05970a3bc19a1('25072dd6e247008...', '/var/www/html/v...')
#2 /var/www/html/vendor/autoload.php(7): ComposerAutoloaderInit8c2811ee3eb8dbe884f05970a3bc19a1::getLoader()
#3 /var/www/html/app/autoload.php(30): include('/var/www/html/v...')
#4 /var/www/html/app/bootstrap.php(30): require_once('/var/www/html/a...')
#5 /var/www/html/bin/magento(14): require('/var/www/html/a...')
#6 {main}
thrown in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php on line 29
Fatal error: Uncaught Error: Class 'Symfony\Polyfill\Php72\Php72' not found in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php:29
Stack trace:
#0 /var/www/html/vendor/composer/autoload_real.php(70): require()
#1 /var/www/html/vendor/composer/autoload_real.php(60): composerRequire8c2811ee3eb8dbe884f05970a3bc19a1('25072dd6e247008...', '/var/www/html/v...')
#2 /var/www/html/vendor/autoload.php(7): ComposerAutoloaderInit8c2811ee3eb8dbe884f05970a3bc19a1::getLoader()
#3 /var/www/html/app/autoload.php(30): include('/var/www/html/v...')
#4 /var/www/html/app/bootstrap.php(30): require_once('/var/www/html/a...')
#5 /var/www/html/bin/magento(14): require('/var/www/html/a...')
#6 {main}
thrown in /var/www/html/vendor/symfony/polyfill-php72/bootstrap.php on line 29
What do I wrong? Should I test your older versions??
Thanks!
PAscal
The text was updated successfully, but these errors were encountered: