• After installing the beta, I cannot load the site. It appears to be something about the use statements at the top of class-wp-ai-client-http-client.php

    Fatal error: Declaration of WP_AI_Client_HTTP_Client::sendRequestWithOptions(WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface $request, WordPress\AiClient\Providers\Http\DTO\RequestOptions $options): WordPress\AiClientDependencies\Psr\Http\Message\ResponseInterface must be compatible with WordPress\AiClient\Providers\Http\Contracts\ClientWithOptionsInterface::sendRequestWithOptions(Psr\Http\Message\RequestInterface $request, WordPress\AiClient\Providers\Http\DTO\RequestOptions $options): Psr\Http\Message\ResponseInterface in /home4/cvltweb/public_html/dev/wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php on line 101

    I also cannot open the login page:

    Fatal error: Uncaught Error: Call to undefined method WordPress\AiClient\AiClient::setCache() in /home4/cvltweb/public_html/dev/wp-settings.php:479 Stack trace: #0 /home4/cvltweb/public_html/dev/wp-config.php(105): require_once() #1 /home4/cvltweb/public_html/dev/wp-load.php(50): require_once('/home4/cvltweb/...') #2 /home4/cvltweb/public_html/dev/wp-login.php(12): require('/home4/cvltweb/...') #3 {main} thrown in /home4/cvltweb/public_html/dev/wp-settings.php on line 479

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator threadi

    (@threadi)

    Have you activated the “Plugin Checker (PCP)” plugin? That caused exactly the same error for me some days ago. Their developers have already fixed it in the plugin code, but a release with the fix is still pending. See: https://github.com/WordPress/plugin-check/issues/1192

    If you don’t use the plugin, deactivate all the ones you have and then activate them one by one to see which one is causing the problem.

    Thread Starter Andrew Rothman

    (@arothman)

    Yes, actually. I did have that enabled!

    I already renamed every plugins/ subfolder but still throwing the error. Guess I’ll wait for the update and manually install it…

    Fatal error: Uncaught Error: Interface "Psr\Http\Client\ClientInterface" not found in /home4/cvltweb/public_html/dev/wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:29 Stack trace: #0 /home4/cvltweb/public_html/dev/wp-settings.php(290): require() #1 /home4/cvltweb/public_html/dev/wp-config.php(105): require_once('/home4/cvltweb/...') #2 /home4/cvltweb/public_html/dev/wp-load.php(50): require_once('/home4/cvltweb/...') #3 /home4/cvltweb/public_html/dev/wp-admin/admin.php(35): require_once('/home4/cvltweb/...') #4 /home4/cvltweb/public_html/dev/wp-admin/index.php(10): require_once('/home4/cvltweb/...') #5 {main} thrown in /home4/cvltweb/public_html/dev/wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php on line 29

    Thread Starter Andrew Rothman

    (@arothman)

    Any idea how I can roll this thing back? I’ve renamed the plugins folder and replaced the entire WP installation but I still get the error…

    Moderator threadi

    (@threadi)

    That’s really strange. Try manually downgrading to WordPress Core 6.9.4. The procedure is roughly as described here: https://ww.wp.xz.cn/documentation/article/updating-wordpress/#manual-update

    Thread Starter Andrew Rothman

    (@arothman)

    yeah, that’s my next move – manually reinstalling the 7 beta apparently was not gonna cut it!

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

You must be logged in to reply to this topic.