3.5.0 Error
-
Hi,
Just updated the plugin to 3.5.0 and was informed of the following error:
Your Site is Experiencing a Technical Issue
WordPress version 6.1.1
Current plugin: WooCommerce Square (version 3.5.0)
PHP version 7.4.3Error Details
=============
An error of type E_ERROR was caused in line 12 of the file /var/www/shop/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php. Error message: Uncaught Error: Interface ‘CoreInterfaces\Http\HttpConfigurations’ not found in /var/www/shop/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php:12
-
Same issue experienced following upgrade this morning:
2023-01-31T08:04:15+00:00 CRITICAL Uncaught Error: Interface 'CoreInterfaces\Http\HttpConfigurations' not found in /home/fanzone/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php:12 Stack trace: 0 /home/fanzone/public_html/wp-content/plugins/cloudflare/vendor/composer/ClassLoader.php(444): include() 1 /home/fanzone/public_html/wp-content/plugins/cloudflare/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/fanzone/p…') 2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Square\Configur…') 3 /home/fanzone/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/SquareClient.php(55): spl_autoload_call('Square\Configur…') 4 /home/fanzone/public_html/wp-content/plugins/cloudflare/vendor/composer/ClassLoader.php(444): include('/home/fanzone/p…') 5 /home/fanzone/public_html/wp-content/plugins/cloudflare/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/fanzone/p…') 6 [internal function]: Composer\Auto in /home/fanzone/public_html/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php on line 12
Hi there @ttoaster
Just updated the plugin to 3.5.0 and was informed of the following error
Thank you for reaching out about this.
I am testing the plugin’s latest version on a test installation of mine, without being able to reproduce the issue.
Just to clarify, how were you informed of this error? Could you elaborate further, or maybe share a screenshot of it, please? https://snipboard.io/ is a good (online) tool of choice for sharing it here.
To help you further, I’d like to understand more about your setup.
Could you please send me a copy of your site’s System Status? You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
.Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.
You can paste the Gist link here in your reply, once you have that.
Hi there @sacfc
I am checking the error log you are sharing here, and I see that the Cloudflare plugin is reported also.
Could you try disabling it temporarily and see if the issue persists, please?
If yes, we’d like to take a look at your report on a separate thread, since every store’s setup is unique.
Please open a new topic here: https://www.ads-software.com/support/plugin/woocommerce-square/#new-topic-0.
Thanks!
I was informed of the issue via an email from my Dev server where I had just upgraded your plugin.
You already have the WordPress, PHP and plugin version information, and I have Woocommerce 7.3.0, I am not going to paste my Status report as it isn’t relevant.I do not have CloudFlare on the Dev server and I think you are grasping at straws, as the previous version worked acceptably.
To be honest, I am very tempted to permanently remove your Square plugin as it has a very bad reputation and I’ve had many issues with it over the last 2+ years! However, as I like to give my customers a choice in payment gateways, I still have it enabled at this time.
Looking at the error, I would say that the latest update is missing a file from the package (maybe it works fine on yours as you had the alpha/beta version of this update installed on your test server before the final release version?):
Interface ‘CoreInterfaces\Http\HttpConfigurations’ not found in /var/www/shop/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php:12
Hello,
I was informed of the issue via an email from my Dev server...
Sorry to hear that, I can understand your point.
That sounds like a staging site, if you need to create a staging site you can use WP Staging. Can you please disable all plugins except WooCommerce and Square, and then switch the staging site theme to Storefront? Is the issue is still present at this point?
Let us know what you find.
Hi,
Yes, it is a staging/dev server that is a clone of my production server; I use this to test ALL new plugins and plugin updates before installing them on my production server.
So, I have no need to create another staging server (or desire to do so). The old version of the plugin works, the new one throws an error (as reported). The issue is with your plugin code, not my server or the other plugins installed (no other plugins were updated when I installed your Square plugin update this morning), so it isn’t a conflict, unless you have added some conflicting code.
Why not investigate (via Diffing) or your change system (code repository) what code has been changed/added related to the Configuration interface, and debug it? It isn’t rocket science!
Hi @ttoaster
Yes, it is a staging/dev server that is a clone of my production server; I use this to test ALL new plugins and plugin updates before installing them on my production server.
This is good practice. Also, as I understand, you were able to notice the error only on the staging server, where you upgraded to version 3.5. Correct?
As I mentioned in my previous response here, I was not able to reproduce the issue, on a testing installation of mine.
Therefore, more details are needed in order to pinpoint the issue.
Looking at the error, I would say that the latest update is missing a file from the package (maybe it works fine on yours as you had the alpha/beta version of this update installed on your test server before the final release version?
Just to clarify, in my testing environment I am activating only stable releases, that are available via: https://www.ads-software.com/plugins/woocommerce-square/
Why not investigate (via Diffing) or your change system (code repository) what code has been changed/added related to the Configuration interface, and debug it??
Feel free to check out the changelog, available at the following link:
https://www.ads-software.com/plugins/woocommerce-square/#developers
I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.
“As I mentioned in my previous response here, I was not able to reproduce the issue, on a testing installation of mine.”
Just to note, the error happens on upgrade – but does not appear to occur again
OK, thank you for clarifying @sacfc.
I’m glad the issue is no more, happy selling!
“Just updated the plugin to 3.5.0 and was informed of the following error:
Your Site is Experiencing a Technical Issue
WordPress version 6.1.1
Current plugin: WooCommerce Square (version 3.5.0)
PHP version 7.4.3Error Details
=============
An error of type E_ERROR was caused in line 12 of the file /var/www/shop/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php. Error message: Uncaught Error: Interface ‘CoreInterfaces\Http\HttpConfigurations’ not found in /var/www/shop/wp-content/plugins/woocommerce-square/vendor/square/square/src/ConfigurationInterface.php:12″I have the same error as the OP and my site is NOT a staging site.
I have the same error message, except my info is as follows.
WordPress version 6.1.1
Active theme: GeneratePress (version 3.2.4)
Current plugin: WooCommerce Square (version 3.5.0)
PHP version 8.1.14I think I will NOT upgrade this plug-in on my other sites until you solve this problem.
In fact, I am rolling back to the previous version of your plug-in. Rolled back to Version 3.4.2
- This reply was modified 1 year, 9 months ago by proteanstar.
- This reply was modified 1 year, 9 months ago by proteanstar.
- This reply was modified 1 year, 9 months ago by proteanstar.
I too am having issues with the new version. It crashed the checkout page in woocommerce. I updated all plugins and tested each, one at a time. The Square plugin was the issue. I had to roll back in order for it to work.
Other sites are experiencing similar issues. Will there be a new patch soon?
I’m adding on here. I’ve got the same exact error happening. SiteGround is hosting.
Hi @databell96 @dgomez78 @proteanstar
Thanks for reaching out!
I understand you are experiencing the same issue and since every site is different and you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?
Additionally, please include your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.We’ll be more than happy to help there ??</img>
Meanwhile, I have the latest version of the plugin,
3.5.0
, tried to place a test order on my personal site, however, I am unable to reproduce the issue on my end.xue28 (woo-hc) (@xue28)
Thank you for your reply.
Of course I know how to do that. Will that information be secure here in this public forum? Why do you want to split this discussion up into separate threads, when it appears to be exactly the same issue? It would seem to make more sense to keep it here.
Hi @proteanstar ,
Of course I know how to do that. Will that information be secure here in this public forum?
Since this is a public forum, we ask that you DO NOT share login and password details here however, sharing your sites System Status report and error logs is safe. If your SSR contains information you do not want to share, this can be redacted.
The report contains information on your setup, plugins and versions, and your theme and is really useful when troubleshooting issues.
Why do you want to split this discussion up into separate threads, when it appears to be exactly the same issue? It would seem to make more sense to keep it here.
Since every sites environment is different, it is best to provide personalized support on the issue at hand, specific to the site in question.
Additionally, as @xue28 already mentioned, per the forum guidelines, each issue requires their own topic.
Hope this helps!
- The topic ‘3.5.0 Error’ is closed to new replies.