Home Forums WoodMart support forum Warning: Illegal offset type in isset or empty

Warning: Illegal offset type in isset or empty

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #396551

    hamster2116
    Participant

    Hello, I get this warning (see private content)

    I tested this with all plugins disabled except woodmart-related plugins, warning is still there.

    On a default theme like twenty-twenty-two, there is no warning.

    I contacted WPML support (because the path is from WPML plugin) but they said the cause is in the woodmart theme.
    As on a default theme with only WPML/woocommerce enabled, there is no warning. I can see that once I activate woodmart the warning shows up.

    Note visibile warnings are disabled on the site, I see it via Query Monitor.

    I made a clone site where you can check it (see link in private content)

    Can you check if this caused by Woodmart?

    Thanks!!

    #396554

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?

    Thank you in advance

    #396563

    hamster2116
    Participant

    I disabled plugins, except woocommerce and woodmart

    #396617

    Artem Temos
    Keymaster

    How can we see these warnings on your website now? Could you please send us a screenshot?

    Kind Regards

    #396618

    hamster2116
    Participant

    Yes, I disabled visible warnings in wp-config, because it is a multisite. This means the warnings would be shown on all my (production) sites, I don’t want visitors to see them.

    I see that Query Monitor only works for super admin in Multisite so unfortunately you can’t use it.

    Please find attached screenshot and more info in private content area.
    The same warning appears 4 times, with same content.

    Attachments:
    You must be logged in to view attached files.
    #396724

    Artem Temos
    Keymaster

    We need to be able to see these errors in order to fix them. If you can’t do this on your live website, please, create a staging clone where we will be able to do this.

    Kind Regards

    #396779

    hamster2116
    Participant

    I figured out a way to make Query Monitor visible to you.
    Now you can see in admin bar on top where the warnings appear.

    See screenshot

    Please note this is a multisite network. At the moment, I am not able to clone the whole network as a separate installation.
    Please check the errors on the clone subsite I made, with help of Query Monitor. Let me know if that works. Thanks!

    For additional info please view private content below.

    Attachments:
    You must be logged in to view attached files.
    #396788

    Artem Temos
    Keymaster

    We applied patch 395239. Please, check how it works now.

    Kind Regards

    #396792

    hamster2116
    Participant

    I confirm the PHP warnings are gone now. Thank you so much!!

    #396806

    Artem Temos
    Keymaster

    Great, you are welcome!

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Warning: Illegal offset type in isset or empty’ is closed to new replies.