This repository was archived by the owner on Oct 23, 2023. It is now read-only.
PHP Fatal error: Uncaught Error: Class "Tectalic\OpenAi\Manager" not found #10
|
Hi, When I run the example PHP code from your website with my API key, I get the following error: PHP Fatal error: Uncaught Error: Class "Tectalic\OpenAi\Manager" not found in /var/www/html/scrape/chatgpt/test.php:3 What am I doing wrong? Any help is much appreciated. Wyatt |
Answered by
thejamescollins
Jan 19, 2023
Replies: 1 comment
|
Hi there @wyatt121, Does your Please see the Usage section here.
If that doesn't help, please copy and paste your Thank you, James |
0 replies
Answer selected by
thejamescollins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there @wyatt121,
Does your
test.phpscript require/include the Composer autoloader file?Please see the Usage section here.
composer require tectalic/openairequire_once(__DIR__ . '/vendor/autoload.php');If that doesn't help, please copy and paste your
test.phpfile and include it here so we can see the code you're using.Thank you,
James