xwp / site-performance-tracker

Allows you to detect and track site performance metrics
GNU General Public License v2.0
96 stars 15 forks source link

Fatal PHP error #14

Closed timbowen closed 5 years ago

timbowen commented 5 years ago

When activating the plugin I get these errors:

Fatal error: Uncaught Error: Class 'Site_Performance_Tracker\Plugin' not found in /app/public/wp-content/plugins/site-performance-tracker-master/site-performance-tracker.php on line 60

Error: Class 'Site_Performance_Tracker\Plugin' not found in /app/public/wp-content/plugins/site-performance-tracker-master/site-performance-tracker.php on line 60

Let me know if I can help troubleshoot.

delawski commented 5 years ago

@timbowen The plugin is meant to be installed as a Composer dependency. We're currently updating the readme file so that it includes the instructions. Here's a direct link to the Installation section:

https://github.com/xwp/site-performance-tracker/blob/f3e56172f905a340be7d5da85b4c5157f54ce999/README.md#installation

kasparsd commented 5 years ago

@timbowen Sorry for the confusion around this. I'll open an issue for creating distribution zips (that contain the autoloader) that are added to every release.