- This topic has 11 replies, 2 voices, and was last updated 4 years, 6 months ago by
David.
-
AuthorPosts
-
August 17, 2021 at 4:55 am #1898672
Radek
Hi, I installed clean WP 5.8, then GP theme, then GPP plugin, then activate all GPP parts, then go to site library and install “Shop” with samples import. Installation stuck at importing sample content and maintenance mail arrived to my administrator email. After entering recovery mode, GPP and Woocommerce plugins was paused. Details at Private information section. Versions: WordPress verze 5.8
Aktuální šablona: GeneratePress (verze 3.0.4)
Aktuální plugin: WooCommerce (verze 5.5.2)
Verze PHP 8.0.1So maybe PHP8 error ? Or any other idea ?
Thanx RadekAugust 17, 2021 at 6:24 am #1898762David
StaffCustomer SupportHi there,
what happens if you install Woocommerce before installing the site ?
August 17, 2021 at 6:30 am #1898765Radek
Didn’t try. I move at my hosting to new server (old one has PHP 7.3 max), they set PHP 8 automaticly for me. After moving this site was broken, but its only test site for me, so I installed again from zero and use Woocommerce instalation by Shop site from library.
August 18, 2021 at 4:20 am #1899910David
StaffCustomer SupportI ran a test to see if i could replicate the issue.
My steps were:a) Clean install of WP
b) Install only GP Theme and GP Premium
c) Enable ONLY the Site Library Module
d) Imported SHOP site.And that worked OK.
Can you try from a clean install and those steps ?
August 18, 2021 at 4:29 am #1899925Radek
OK I’ll try, but what is Your server configuration ?
August 18, 2021 at 6:58 am #1900074David
StaffCustomer SupportThis is the config:
Web server nginx/1.16.0 PHP version 8.0.0 (Supports 64bit values) PHP SAPI fpm-fcgi PHP max input variables 4000 PHP time limit 1200 PHP memory limit 256M Max input time 600 Upload max filesize 300M PHP post max size 1000M cURL version 7.54.0 LibreSSL/2.6.5 Is SUHOSIN installed? NoI also tested on Apache with same server settings.
August 19, 2021 at 12:36 am #1900967Radek
installing options, WP Show post, activating plugins, importing content and stuck. Then recovery mail recieved with info:
WordPress verze 5.8
Aktuální šablona: GeneratePress (verze 3.0.4)
Aktuální plugin: WooCommerce (verze 5.6.0)
Verze PHP 8.0.1Podrobnosti chyby
=================
Na řádku č. 37 v souboru /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php došlo k chybě typu E_ERROR. Chybová zpráva: Uncaught Error: Call to undefined function putenv() in /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37
Stack trace:
#0 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct()
#1 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-includes/class-wp-hook.php(303): WC_Regenerate_Images::init(”)
#2 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#4 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-settings.php(578): do_action(‘init’)
#5 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-config.php(96): require_once(‘/data/web/virtu…’)
#6 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-load.php(50): require_once(‘/data/web/virtu…’)
#7 /data/web/virtuals/282201/virtual/www/subdom/obchod/wp-admin/admin-ajax.php(22): require_once(‘/data/web/virtu…’)
#8 {main}
thrownAugust 19, 2021 at 12:42 am #1900969Radek
my server conf:
Architektura serveru Linux 5.4.0-73-generic x86_64
Web server Apache
Verze PHP 8.0.1 (Podporuje 64bitové hodnoty)
PHP SAPI fpm-fcgi
PHP max input variables 10000
PHP time limit 90
PHP memory limit 256M
PHP Max. Input Time 30
Max. velikost nahrávaného souboru 128M
PHP post max size 128M
Verze cURL 7.29.0 NSS/3.36
Je nainstalován SUHOSIN? NeAugust 19, 2021 at 6:00 am #1901212David
StaffCustomer SupportNot sure if its related but i would increase
PHP time limitandPHP Max. Input Time
Those are very short, and import processes may require a much longer time allowance.August 19, 2021 at 6:06 am #1901221Radek
PHP time limit is only option I can edit at my hosting, max limit is 300. Input time can’t modify. I’ll try with 300…
August 19, 2021 at 11:55 pm #1902131Radek
Looks like Woocommerce is not PHP 8 ready. The same error on clean WP install right after WC activation. Sorry for Your time.
August 20, 2021 at 5:02 am #1902356David
StaffCustomer SupportThanks for letting us know !
-
AuthorPosts
- You must be logged in to reply to this topic.