• Resolved arbitrhand

    (@arbitrhand)


    Good morning to you all, I am experiencing a strange behaviour that occurs only when showing a post of some category.
    I can only see it on the pages belonging to “news category” and even creating a new category and assigning the post to this new category , the warning persists.
    Can this be something related to cache or something else?
    the message is “Warning: Attempt to read property “ID” on null in/home/mhd-01/(my site)/htdocs/wp-content/plugins/content-control/inc/functions/rule-callbacks.php

    Please exceuse my request, the plugin is really effective and works flawlessly (if you respect its rules…).
    thank you in advance and have niece day ahead.

    Arbitrhand

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @arbitrhand,

    Thanks for the post and we’re sorry to hear you encountered issues with Content Control.

    Do you have any restrictions created for that specific category?

    Have you tried turning off your restrictions temporarily and see which ones are causing the issue?

    If you have more information you want to provide privately, you can send us a message at Contact – Code Atlantic. We might need to take a closer look at your setup as well.

    We’ll wait for email! ??

    Thread Starter arbitrhand

    (@arbitrhand)

    Good afternoon, deactivating the plugin the warning message disappear, and reactivating… it reappears. I already sent a message on your contact form ??

    Thanks a lot!

    Plugin Support Kim L

    (@kimmyx)

    Hi @arbitrhand,

    Thanks for the update!

    We received your email and have responded to it. Kindly check your inbox. ??

    Same problem here…

    Warning: Attempt to read property “ID” on null in /home/httpd/vhosts/mydomain.com/wp/wp-content/plugins/content-control/inc/functions/rule-callbacks.php on line 88

    Can you please fix this?

    Thank you

    Leo

    Plugin Author Daniel Iser

    (@danieliser)

    @pileo, @arbitrhand – Sorry for the delay, if your able, please try the fixes here: https://github.com/code-atlantic/content-control/commit/afa565bc1d41648ddbbaca9a6459e8b288abcfd1

    Would love a confirmation, but this should go our during our next release.

    • This reply was modified 6 months, 3 weeks ago by Daniel Iser.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning message “attempt to read ID”’ is closed to new replies.