Skip to content

v1.0.6 — Fatal error fixes

Choose a tag to compare

@nickhamze nickhamze released this 21 Mar 03:08
· 41 commits to main since this release

What's fixed

Two fatal errors that could block the plugin from working entirely:

Fatal on activation

OPENSSL_KEYTYPE_RSA is a constant provided by PHP's openssl extension. On servers where the extension isn't loaded, referencing it throws an Error in PHP 8.x — WordPress catches this and shows "Plugin could not be activated because it triggered a fatal error." The plugin now checks for the extension first and shows a clear, actionable error message instead.

Fatal on every OAuth / MCP connection

The four PSR-7 adapter classes (WPStream, WPUri, WPResponse, WPServerRequest in class-psr7-bridge.php) were not registered in the plugin's autoloader. PHP could not find them when the OAuth authorization or token handlers ran, producing a "Class not found" fatal on every connection attempt. All four are now registered.

Also included (from unreleased commit c14c161)

  • Admin settings JavaScript extracted to assets/js/admin-settings.js and enqueued cleanly
  • last_used_at column alias bug fixed in the connected-apps query
  • wp_unslash() added to $_GET reads on the settings page
  • readme.txt for WordPress.org directory compliance