Fatal Error in AI Client
-
After installing the beta, I cannot load the site. It appears to be something about the
usestatements at the top ofclass-wp-ai-client-http-client.phpFatal 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 101I 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
You must be logged in to reply to this topic.