'Array' with Woo Checkout Editor

Hi there. I previously had the same error has in this thread:

Warning: Illegal string offset ‘label’ in /…/tco_woo_checkout.woo.hooks.php on line 266

After I’ve updated all my plugins, themes, and followed the instructions to hide PHP warnings, I now get a single word ‘Array’ in replacement of that section.

What is it and how can I fix this?

Using:
WordPress 4.9.4
X Theme Installed Version 5.2.5
Woo Checkout Editor Version 2.0.1

Thanks!

1 Like

Hey there,

Did you set the WP_DEBUG to false and added the following in the wp-config.php file?

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

If so, would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Hi there, yup. I added the 4 lines into my wp-config file.

Sending the credentials in a secure note.

Hi There,

What is your login page? I can’t access the /wp-admin nor /wp-login.php

Please confirm that you have the latest version of Woo Checkout Editor extensions (v2.0.1)

You said above that this issue happens after you updated all your plugins and themes.

Please clear all caches (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

If the issue persists, please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes,
Cheers!

Hi there,
It’s /wp-admin.
My version of Woo Checkout Editor is v 2.0.1.
And I’ve just cleared all caches to try again. The ‘array’ word still persists.
Hope you’re able to help.

Hi there,

That is strange the same case was mentioned in another thread and indeed the fix was the version 2.0.1:

I see that you have that version and still getting problems. I suggest that you backup your website and deactivate and delete the Woo Checkout completely and then go to X > Overview menu item to add it again.

Also in the Extra Fields please add the fields from scratch.

Get back to us with the result of the test. Thank you.

Hi Chris,

I’ve done the above: deactivated, deleted, reinstalled from X > Overview.

The fields appear in WooCommerce’s order summary. But the page itself under ‘Additional Info’ is blank (customer-facing).

Hello There,

Thanks for updating in! I have investigated the issue and I can replicate it in my local test server. I can confirm that this is a bug in Woo Checkout Manager wherein no extra fields will be displayed in the checkout confirmation. I’ve submitted this to our issue tracker so the developers will be made aware of it.

Thank you for your understanding.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.