• Resolved Carret

    (@carret)


    Hi all.

    In each call to Cron this notice is received:

    PHP Notice: Undefined index: SCRIPT_FILENAME in /home/xxxxxxx/public_html/xxxxxxx/wp-content/plugins/better-wp-security/core/modules/hide-backend/class-itsec-hide-backend.php on line 91

    WordPress 5.9.3, iThemes Security v8.1.2

    • This topic was modified 2 years, 10 months ago by Carret.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Carret,

    Are you calling the wp-cron.php script directly?

    +++++ To prevent any confusion, I’m not iThemes +++++

    Thread Starter Carret

    (@carret)

    I have wordpress cron disabled. It is called from the server, yes.

    The notice is related to the Hide Backend feature.
    I wonder what purpose the Hide Backend feature has during a cron event.

    The code already bails when it’s an API request. So perhaps it should also bail for a cron request. That way it won’t get to line 91 in a cron request.

    @timothyblynjacobs

    Any thoughts ?

    According to the iTSec Pro 7.1.3 (2022-06-23) Changelog:

    Bug Fix: Don’t attempt to Hide Backend when a Cron request is being processed.

    So this will probably also be fixed in the next iTSec free plugin release ??

    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @carret, I hope the information provided helped resolve your issues. Since we haven’t received a response, I’ll mark this post resolved. If you still need some assistance, feel free to open a new support topic, and we’d be happy to assist. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Notice: Undefined index: SCRIPT_FILENAME’ is closed to new replies.