Fix to avoid fatal error
-
I was getting a fatal error from this plugin under certain conditions:
Fatal error: Uncaught Error: Class 'SeriouslySimpleStats\Classes\Stats' not found in ... wp-content/plugins/seriously-simple-stats/seriously-simple-stats.php:48
Changing line 30 in seriously-simple-stats.php to explicitly include the correct autoload.php file like this:
require_once __DIR__ . '/vendor/autoload.php';
seems to fix the issue for me. Can you make this update in the code for future releases?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix to avoid fatal error’ is closed to new replies.