Fatal error: Uncaught Error: Class 'Magento\Framework\Component\ComponentRegistrar' not found in /home/baj/public_html/danny/athlete/app/code/Olegnax/InfiniteScroll/registration.php:5 Stack trace: #0 {main} thrown in /home/baj/public_html/danny/athlete/app/code/Olegnax/InfiniteScroll/registration.php on line 5