Background of the issue:
I am trying to: My website updated to PHP 8.1 but it seems to clash with the current WPML version. It is not working with woocommerce multilingual. Link to a page where the issue can be seen: hidden link
Symptoms:
PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /wordpress/plugins/woocommerce/8.9.3/includes/wc-core-functions.php:1330
Questions:
Why is my website encountering a PHP Fatal error after updating to PHP 8.1?
How can I resolve the compatibility issue between PHP 8.1 and the current WPML version?
Can you please share the username also? I only see the password in the link. And please deactivate Jetpack on the site so I can login directly from wp-login.php page.
Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
Please invite me to manage your site on WordPress.com. My email is: long.n@onthegosystems.com
Or you can go to admin area > Settings > General > Admin Interface Style: Classic. That would help me login to the admin area directly without going to WordPress.com. This feature is managed by Jetpack plugin.
The issue is related to the plugin WooPayments on your site. If I deactivate this plugin, I can create a new order in the admin area normally.
It could be a compatibility between WooPayments and WPML. Please help me replicate the issue on a clean installation of WordPress. You can access the test site admin area with this link hidden link
Kindly follow the steps below:
- Don’t restore your site there.
- Install WooPayments plugin.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.
Thanks.
The topic ‘[Closed] PHP Fatal Error’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.