Cursor shows a list of its own comands but doesn't execute it

The Cursor began malfunctioning: It does not change any lines of codes at all. Instead, it began showing its list of command lines as below instead of executing them. I restarted it at least a few times, and even restarted my PC. Then, I upgraded to the most recent version of it, but in vain. What can I do to fix the error?

(No, the files are not read-only. The permission is fine.)

<tool_calls>
<edit_file>
<tool_sep>target_file
/wp-content/themes//includes/web3-utils.php
<tool_sep>instructions
Delete the namespace declation **********\Container;
<tool_sep>code_edit
// … existing code …

/**

  • Service container - MECE based improvements
    */
    final class ****Container {
    private static $instance = null;
    private $services = ;
    private $instances = ;
    private $parameters = ;
    private $factories = ;
    private $extensions = ;
    private $tags = ;
    private $frozen = false;
    private $env = ;

    private function __construct() {
    $this->loadEnv();
    }

// … rest of the existing code …
</tool_sep>
</edit_file>
</tool_calls>


<tool_calls>
<read_file>
<tool_sep>target_file
**/wp-content/themes//includes/web3-utils.php
<tool_sep>start_line_one_indexed
185
<tool_sep>end_line_one_indexed
195


<tool_sep>explanation


<tool_sep>should_read_entire_file
false
</read_file>
</tool_calls>


The computing environment is as below:
Version: 0.49.6 (user setup)
VSCode Version: 1.96.2
Commit: 0781e811de386a0c5bcb07ceb259df8ff8246a50
Date: 2025-04-25T04:49:20.797Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Hey, which model are you using? Is this also happening in the new chat?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.