bootscore / bs-swiper

WordPress plugin to show posts, child-pages, custom post types or WooCommerce products in a swiper.js carousel in Bootscore theme.
https://bootscore.me/plugins/bs-swiper/
MIT License
18 stars 9 forks source link

Critical Error on line 21 in main.php - Puc_v4_Factory' not found in #44

Closed stuffthatspins closed 1 year ago

stuffthatspins commented 1 year ago

Opened our project this morning and I was getting a critical error:

error log: thrown in /home/customer/www/igi.pixaura.com/public_html/wp-content/plugins/bs-swiper-main/main.php on line 21 [27-Aug-2023 15:01:19 UTC] PHP Fatal error: Uncaught Error: Class 'Puc_v4_Factory' not found in /home/customer/www/igi.pixaura.
LINE 21:

$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(

commented out and the plugin works.

// $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker( // 'https://bootscore.me/wp-content/plugins/bs-swiper-main/update/plugin.json', // FILE, //Full path to the main plugin file or functions.php. // 'bs-swiper-main' // );

stuffthatspins commented 1 year ago

this is happening on every one of our sites that use the bs-swiper plugin.

crftwrk commented 1 year ago

Thanks for reporting. https://github.com/bootscore/bs-swiper/pull/47 will fix that.