• Hi,

    I have installed the plugin on the WordPress VIP website, and it appears that the plugin isn’t compatible. I found two issues:

    1. The plugin is unable to write to a .txt file. It throws the following error
      file_put_contents(): Automattic\VIP\Files\VIP_Filesystem_Local_Stream_Wrapper::stream_lock is not implemented!
    2. It also appears that the rewrite rule isn’t working, which should allow the file to be accessible via the URL website.com/llms.txt

    Regards,
    Burhan

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

    (@samsonovteamwork)

    Hi @burhandodhy ,

    Thank you for testing the plugin on a WordPress VIP environment and reporting these issues.

    We’ve made changes for version 8.1.1 to address the problems you found:
    1. File Writing Compatibility:
    • Replaced file_put_contents() with WP_Filesystem for writing the llms.txt file.
    • Added a fallback using native PHP file handles (fopen in append mode) when the direct method is available.
    • This should prevent the stream_lock error on VIP environments.
    2. Rewrite Rule Handling:
    • Improved the rewrite rule registration to ensure website.com/llms.txt is properly accessible on VIP servers.

    The update is now available. Could you please install 8.1.1 on your VIP site and let us know if the issues are resolved on your end? Your feedback will help us confirm the fix works across VIP environments.

    Thanks again for your help in testing this!

    Best regards,

    LLMs Plugin Support Team

    Thread Starter Burhan Nasir

    (@burhandodhy)

    Hi Team,

    I have updated the plugin, but unfortunately, the new version isn’t working. I will try to debug the issue and share my findings with you.

    Regards,
    Burhan

    Thread Starter Burhan Nasir

    (@burhandodhy)

    Hi Team,

    Quick update, I found two issues:

    1. The .llms.txt file is still empty in the uploads directory.
    2. When get_llms_content sends a GET request, it goes to a CDN URL like https://file-files.vipv2.net/wp-content/uploads/file.llms.txt and results in a 404 error.

    I’ve also noticed that the new plugin version uses the WP_Filesystem class, but it seems that most of the directory-related operations are not functioning as expected on the VIP.

    https://docs.wpvip.com/vip-file-system/media-uploads/
    Because the VIP File System lacks a true directory structure, most WP_Filesystem operations related to directories will not work as expected.

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

The topic ‘WordPress VIP Support’ is closed to new replies.