• Resolved Paul

    (@headwall)


    Hi

    We’re seeing multiple warnings about undefined array keys when running cron from WP CLI, plugin version 8.0.5:

    Undefined array key "detailed_content" in /SNIP/website-llms-txt/includes/class-llms-generator.php on line 357
    Undefined array key "detailed_content" in /SNIP/website-llms-txt/includes/class-llms-generator.php on line 367
    Undefined array key "detailed_content" in /SNIP/website-llms-txt/includes/class-llms-generator.php on line 454
    etc.

    We’ll patch it at our end for now, because it’s happening on every cron cycle, which is annoying for our reporting.

    Cheers

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pavlo Samsonov

    (@samsonovteamwork)

    Hi @headwall

    Thanks for reporting this and for providing the details.

    We’ve identified the cause — the detailed_content array key was not being checked before access when running from WP CLI, which caused the notices during cron runs.

    This will be fixed properly in the next release (8.0.6) by adding safe checks and defaults for this key.

    In the meantime, your patch is perfectly fine as a temporary solution.

    Thanks again for catching this and letting us know!

    Best regards,

    LLMs Plugin Support Team

    Thread Starter Paul

    (@headwall)

    Great, thanks for confirming.

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘undefined array key “website-llms-txt”’ is closed to new replies.