CBSubs Promotions: overriding plan display when applying a promotion to recurring payments only causes fatal errror
If a always applied promotion that is configured to only apply to recurring payments has "Override plans display" set to "Yes" it will throw the following error anywhere a qualifying plan is loaded (e.g. on profile).
Call to a member function isAnyAutoRecurringPossibleWithThisBasket() on null
Updated by krileon about 5 years ago
Appears to be due to checkPromotionApplicable usage in getPromotionsApplicableForPlan of /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubspromotion/cbsubs.promotion.php as $paymentBasket is being set to null (since one doesn't exist here). Quick fix is probably to not use null but just set an empty basket as all the function calls are expecting a basket object.