WPCode Error
-
Hi, I installed WPVibe as I was hoping to use it to be able to create and edit WPCode snippets using Claude on my wordpress site. When I tried to get it to do a test it failed and gave the following error Class “WPCode_File_Cache” not found
Could you please let me know what I need to do to configure it so that WPVibe/Claude can create and edit the code sippets? Thank you.
Claude told me:Root cause, found precisely: I was able to pull the actual PHP exception via one of WPCode’s diagnostic abilities. It’s a fatal error:
Class "WPCode_File_Cache" not foundThat class simply doesn’t exist in the WPCode Lite version installed on your site (v2.3.8 — which I checked, and that’s actually the current latest free version, so this isn’t an “update the plugin” fix). Whatever code path WPVibe uses to write a snippet (and, it turns out, to run any WP-CLI command at all — I tested a completely unrelated read like
option get blognameand it hit the identical fatal) calls that missing class without checking it exists first. So right now, through WPVibe, both snippet creation/editing and the WP-CLI tool are broken on this site — everything else (posts, pages, WooCommerce, Elementor, file read/search, content search-and-replace) is working normally.My best read is that
WPCode_File_Cacheis a class WPVibe expects from a WPCode feature that either belongs to WPCode Pro rather than the free Lite version you have, or there’s a version-compatibility gap in WPVibe’s integration — I couldn’t confirm which from public docs, so I don’t want to overstate it.What I’d suggest: report this to WPVibe support with the exact error text above (and this operation id:
op_9e62622420764b4b, timestamped today) — it’s a clean, reproducible bug report for them, and they’ll know immediately whether it needs WPCode Pro or a fix on their side.
You must be logged in to reply to this topic.