Error: "'lib/pkp/lib/vendor/autoload.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php')"


After trying to update the site to the latest version, without working, I tried to restore the site to its old back up. After some problems, and contacting the hosting, I was given this error:

"There is the following error found: [07-Jul-2024 17:05:06 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘lib/pkp/lib/vendor/autoload.php’ (include_path=‘.: /opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/mylinpat/ /lib/pkp/classes/core/

You can find it in the /home/mylinpat/ file. Looks like the system can’t find the autoload.php file".

Does anyone know how to intervene urgently and solve the problem?
Thank you all.

Hi @Fra04,

You are missing your Composer dependencies. These should be included with the .tar.gz packages of OJS on the PKP website, and should presumably be included in your backup, so I’m not sure why they’d be missing.

Alec Smecher
Public Knowledge Project Team