Skip to content

Troubleshooting

Esa-Matti Suuronen edited this page Dec 18, 2023 · 7 revisions

Autoload Classes Not Found

tl;dr

If you don't know what Composer and Autoloaders are you probably have downloaded a wrong package file from Github.

Download or install the plugin from the WordPress plugin directory or download a zip named like findkit-vendor.0.2.1.zip from Github Releases which includes the generated autoloaders for the classes.

Long answer

The Findkit WordPress plugin uses PSR-4 style autoloading with Composer. Which means it should be installed using Composer which generates the autoload files. Alternatively it is possible download a "vendored" package which includes the generated files. See this article for more information about Composer and WordPress.

The git repository and the source code zip does not contain the generated autoloader files but the previously mentioned zip file does.

If you need to get the plugin from git or the source code zip you can manually generate the autoload files in the plugin root with:

composer install --no-dev

Clone this wiki locally