This topic has 8 replies, 2 voices, and was last updated 6 months, 1 weeks ago ago by Andrew Mitchell
Dear Support Team,
My web host informed me that the current php version used for my website 8.0 will soon not by supported by July 1st.
I tried to upgrade version to 8.1 and I get the following error messages on every pages of the website:
Deprecated: Return type of JuiceContainer::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/45/d901075961/htdocs/wp-content/plugins/quform/library/JuiceContainer.php on line 126
Deprecated: Return type of JuiceContainer::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/45/d901075961/htdocs/wp-content/plugins/quform/library/JuiceContainer.php on line 79
Deprecated: Return type of JuiceContainer::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/45/d901075961/htdocs/wp-content/plugins/quform/library/JuiceContainer.php on line 46
Deprecated: Return type of JuiceContainer::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/45/d901075961/htdocs/wp-content/plugins/quform/library/JuiceContainer.php on line 136
Can you please help me fix this? I got back to 8.0 version meanwhile we sort this out.
Best regards,
I
Hello, caribou,
We hope this message finds you well. Upon reviewing the error description you provided, it appears that the issue may be related to the Quform plugin. We have attempted to replicate the error on our systems using PHP versions 8.1 and 8.2, but we did not encounter the same issue.
Additionally, we are currently unable to access the admin panel of your website. Please verify the credentials and ensure they are correct. Furthermore, we kindly request that you enable PHP 8.1 on your server so that we can further investigate the error on your site.
To prevent the error from being visible to your customers during our testing, you may wish to disable error reporting through the wp-config.php file. Alternatively, you can provide us with access to this file, and we will make the necessary adjustments for you.
To disable error display, please add the following code to your wp-config.php file:
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
We appreciate your cooperation and look forward to resolving this matter efficiently. Should you have any further questions or require additional assistance, please do not hesitate to contact us.
Best Regards,
8Theme’s Team
Hello Andrew,
Thanks for your answer.
I activated php 8.1 version.
I changed the file wp-config.php with the code provided.
I updated the WP credentials.
Thanks for your help.
Best regards,
Hello, caribou,
We are pleased to inform you that we have addressed the noted issues. Kindly review the corrections at your earliest convenience.
Best Regards,
8Theme’s Team
Hello @Andrew Mitchell,
Many thanks for your reply. It has solved part of the problem.
When I enable error display, there is another message on the cart page :
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /homepages/45/d901075961/htdocs/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php on line 162
And on WP dashboard:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/45/d901075961/htdocs/wp-includes/functions.php on line 7053
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/45/d901075961/htdocs/wp-includes/functions.php on line 2165
Best regards,
Caribou
Hello, caribou,
We have noticed that the issues you are experiencing persist even with the default theme. As an initial step, we recommend updating your WordPress and all associated plugins to their latest versions.
Best Regards,
The 8Theme Team
Hello @Andrew Mitchell,
It appears that my WordPress version is 6.2. This might be why I got problems…
To update it, do you confirm I must follow those steps :
https://fr.wordpress.org/support/article/updating-wordpress/#mise-a-jour-manuelle
It’s a little complicated, isn’t it? well to me^^
Best regards,
Carine
Hello, caribou,
Thank you for reaching out to us.
Yes, you are correct in noting that updating your WordPress to the latest version can help resolve the issues you’re experiencing. Following the manual update steps provided in the link is indeed the recommended approach: https://wordpress.org/documentation/article/updating-wordpress/#manual-update
However, I understand that the process might seem a bit complicated. To ensure a smooth update and to safeguard your live site, I would suggest creating a staging site first. This allows you to perform the update in a safe environment where you can test everything without affecting your live site. Once you confirm that everything works well on the staging site, you can then proceed to update your production site.
To create a staging site, you need to contact the provider’s server.
Best Regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up