• Resolved Monoloid

    (@monoloid)


    Hi,
    I’m getting a lot of this php warning:

    Type: PHP Warning
    Message: Attempt to read property “term_id” on bool
    In: /var/www/1/161697/www/wp-content/plugins/hide-categories-products-woocommerce/hide-categories-products-wc.php on line 85

    Any ideas what’s wrong?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Monoloid

    (@monoloid)

    Support – Can you please have a look at this?

    Has this issue been addressed?

    It appears this plugin is not yet ready for WordPress v6.1.1, as upgrading throws a critical error, and debugging reports the following:

    [23-Nov-2022 00:52:21 UTC] PHP Notice Trying to get property ‘term_id’ of non-object in /…/httpdocs/wp-content/plugins/hide-categories-products-woocommerce/hide-categories-products-wc.php on line 85

    Thank you!

    Same here

    Plugin Author Bastien Ho

    (@bastho)

    Thank you for reporting this.

    We’ll publish a fix very soon

    Plugin Author Bastien Ho

    (@bastho)

    It seems it occurs when an hidden category is deleted.

    The warning is removed in version 1.2.6

    Thank you!

    Great plugin!

    • This reply was modified 1 year, 11 months ago by Jeffrey2915.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Warning Message: Attempt to read property “term_id”’ is closed to new replies.