Skip to content
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

Mollie Payments on PHP 7.3 Breaks Checkout / Backend #271

Closed
f3bruary opened this issue Jan 4, 2019 · 6 comments
Closed

Mollie Payments on PHP 7.3 Breaks Checkout / Backend #271

f3bruary opened this issue Jan 4, 2019 · 6 comments

Comments

@f3bruary
Copy link

f3bruary commented Jan 4, 2019

WP 5.0.2
WC 3.5.3
Mollie 5.0.7
PHP-FPM 7.3

Mollie causes the checkout page to stop working (error 503). However, it's not just related to front-end, but also back-end. The ability to create new posts also returns 503 now, like creating new ordres, pages, posts, etc.

When Mollie is disabled everything works fine again. When re-enabled, only the first requests is successful. After a refresh and each following refresh returns a 503.

On the checkout during the first 'working' request, the following errors appear in the Developer Console:

POST https://super-shoes.nl/?wc-ajax=update_order_review 503
POST https://super-shoes.nl/?wc-ajax=update_order_review 503

PHP Error logs:

WARNING: [pool www] child 12345 exited on signal 11 (SIGSEGV) after 123 seconds from start
NOTICE: [pool www] child 23456 started

Apache error logs:

proxy_fcgi:error [pid:54688:tid123456489768] (104)Connection reset by peer: [client: 123.123.213.123] AH01067: Failed to read Fastcgi header, referer: domain.com/product-slug
proxy_fcgi:error [pid:54688:tid123456489768] (104)Connection reset by peer: [client: 123.123.213.123] AH01075: Error dispatching request to : , referer: domain.com/product-slug

I tested by deactivating the mollie plugin. Whereafter everything starts working again. No more errors anywhere for any request.

It would be greatly appreciated if you could push out a patch ASAP as my host has no option to downgrade PHP.

@f3bruary
Copy link
Author

f3bruary commented Jan 4, 2019

Update: I was able to test on PHP-FPM 7.2, and it seems fine.

@davdebcom
Copy link
Contributor

@f3bruary I can't reproduce this on my test server. Does the PHP error log not contain any more errors?

Otherwise, did the hoster also update other PHP extensions? Example here under 2 > PHP 7.3 extensions:
https://ayesh.me/Ubuntu-PHP-7.3

The plugin needs curl and json.

@f3bruary
Copy link
Author

f3bruary commented Jan 9, 2019

php7.3-json and php7.3-curl are installed. I was able to get access to the VPS and checked it. The same packages that were installed for php7.0-* were also installed for php7.3 and later I installed the same packages for 7.2 as well and now I'm running that.

So it's working right now on 7.2, and on the previous 7.0 version too. Just 7.3 doesn't seem to work. I'll try again soon and see if I can gather more information. The php error logs only contained a repetition of those 2 lines.

@davdebcom
Copy link
Contributor

Ok, if you have more specific information I would like to receive it.

@ghost
Copy link

ghost commented Feb 15, 2019

I had a problem with cart and checkout pages giving 503, after I switched my hosted environment to php7.3. Also in the backend, choosing Woocommerce > Settings gave me an error page from my hosting provider (saying I was using too many resources).

My hosting provider was quick to react and tell me that the Mollie plugin does not work with php7.3. They confirmed that I was not using too many resources.

I fell back to php7.2 and all is working nicely again.

Not sure if I can help, probably can give you logs.

WP 4.9.9
Mollie 5.0.7

Some system info:

### WordPress Environment ###

Home URL: https://hetnoteerhuis.nl
Site URL: https://hetnoteerhuis.nl
WC Version: 3.5.4
Log Directory Writable: ✔
WP Version: ❌ 4.9.9 - Er is een nieuwere versie van WordPress beschikbaar (5.0.3)
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: nl_NL
External object cache: ✔

### Server Environment ###

Server Info: Apache
PHP Version: 7.2.14
PHP Post Max Size: 32 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.60.0
OpenSSL/1.0.2k

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.0.37-MariaDB-cll-lve
Max Upload Size: 32 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 3.5.4
WC Database Prefix: wp_
Totale databasegrootte: 24.90MB
Database datagrootte: 18.63MB
Database index grootte: 6.27MB
wp_woocommerce_sessions: Data: 1.34MB + Index: 0.02MB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
wp_woocommerce_order_items: Data: 0.08MB + Index: 0.02MB
wp_woocommerce_order_itemmeta: Data: 0.33MB + Index: 0.30MB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB
wp_comments: Data: 0.22MB + Index: 0.28MB
wp_cppolls_forms: Data: 0.02MB + Index: 0.00MB
wp_cppolls_messages: Data: 0.02MB + Index: 0.00MB
wp_ewwwio_images: Data: 0.02MB + Index: 0.03MB
wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB
wp_failed_jobs: Data: 0.02MB + Index: 0.00MB
wp_links: Data: 0.02MB + Index: 0.02MB
wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB
wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB
wp_options: Data: 1.52MB + Index: 0.39MB
wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB
wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB
wp_polls: Data: 0.00MB + Index: 0.00MB
wp_polls_question: Data: 0.00MB + Index: 0.00MB
wp_polls_templates: Data: 0.00MB + Index: 0.00MB
wp_polls_users: Data: 0.00MB + Index: 0.00MB
wp_postmeta: Data: 4.52MB + Index: 3.03MB
wp_posts: Data: 3.52MB + Index: 0.73MB
wp_queue: Data: 0.02MB + Index: 0.00MB
wp_termmeta: Data: 0.02MB + Index: 0.03MB
wp_terms: Data: 0.02MB + Index: 0.03MB
wp_term_relationships: Data: 0.08MB + Index: 0.05MB
wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB
wp_usermeta: Data: 0.13MB + Index: 0.13MB
wp_users: Data: 0.02MB + Index: 0.05MB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
wp_wfBadLeechers: Data: 0.02MB + Index: 0.00MB
wp_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB
wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB
wp_wfBlocks7: Data: 0.02MB + Index: 0.05MB
wp_wfConfig: Data: 0.45MB + Index: 0.00MB
wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB
wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB
wp_wfFileMods: Data: 2.52MB + Index: 0.00MB
wp_wfHits: Data: 1.02MB + Index: 0.22MB
wp_wfHoover: Data: 0.02MB + Index: 0.02MB
wp_wfIssues: Data: 0.02MB + Index: 0.06MB
wp_wfKnownFileList: Data: 1.52MB + Index: 0.00MB
wp_wfLeechers: Data: 0.02MB + Index: 0.00MB
wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB
wp_wfLocs: Data: 0.02MB + Index: 0.00MB
wp_wfLogins: Data: 0.13MB + Index: 0.03MB
wp_wfNet404s: Data: 0.02MB + Index: 0.02MB
wp_wfNotifications: Data: 0.02MB + Index: 0.00MB
wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB
wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB
wp_wfScanners: Data: 0.02MB + Index: 0.00MB
wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB
wp_wfStatus: Data: 0.13MB + Index: 0.11MB
wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB
wp_wfVulnScanners: Data: 0.02MB + Index: 0.00MB
wp_yoast_seo_links: Data: 0.08MB + Index: 0.02MB
wp_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB

### Post Type Counts ###

attachment: 815
customize_changeset: 1
feedback: 20
jp_img_sitemap: 2
jp_sitemap: 2
jp_sitemap_master: 2
nav_menu_item: 24
oembed_cache: 4
page: 18
post: 16
product: 157
product_variation: 366
revision: 256
shop_coupon: 17
shop_order: 167
shop_order_refund: 13

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (18) ###

Akismet Anti-Spam: door Automattic – 4.1.1
Facebook for WooCommerce: door Facebook – 1.9.8 – Niet getest met de actieve versie van WooCommerce
Jetpack door WordPress.com: door Automattic – 7.0
Mailchimp for WooCommerce: door Mailchimp – 2.1.13 – Niet getest met de actieve versie van WooCommerce
Mollie Payments for WooCommerce: door Mollie – 5.0.7
Perfect WooCommerce Brands: door Alberto de Vera Sevilla – 1.7.1
PW WooCommerce Gift Cards: door Pimwick
LLC – 1.66

Really Simple SSL: door Rogier Lankhorst
Mark Wolters – 3.1.3

Redis Object Cache: door Till Krüss – 1.4.1
Redis Object Cache: door Till Krüss – 1.4.1
Social Media Feather: door socialmediafeather – 1.8.4
Storefront Homepage Extra Sections: door WPDevHQ – 1.0.2
Advanced Order Export For WooCommerce: door AlgolPlus – 2.1.1
WooCommerce Checkout Field Editor: door WooCommerce – 1.5.16
Booster for WooCommerce: door Algoritmika Ltd – 4.2.0
WooCommerce: door Automattic – 3.5.4
Wordfence Security: door Wordfence – 7.2.2
Yoast SEO: door Team Yoast – 9.6

### Settings ###

API Enabled: –
Force SSL: ✔
Currency: EUR (€)
Currency Position: right_space
Thousand Separator: .
Decimal Separator: ,
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
pw gift card (pw-gift-card)
simple (simple)
variable (variable)
yith_bundle (yith_bundle)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)


### WC Pages ###

Winkelbasis: #192 - /winkel/
Winkelmand: #5 - /winkelmand/
Afrekenen: #6 - /afrekenen/
Mijn account: #7 - /mijn-account/
Algemene voorwaarden: #234 - /algemene-voorwaarden/

### Theme ###

Name: Storefront
Version: 2.4.3
Author URL: https://woocommerce.com/
Child Theme: ❌ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt
raden we het gebruik van een child thema aan. Zie: Hoe maak je een child thema

WooCommerce Support: ✔

### Templates ###

Overrides: –

@davdebcom
Copy link
Contributor

@FirstWarden Thanks, I might have found a reason, researching now. Should have a fix in 5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants