After updating any page on the frontend that displays a SpamExperts promotion or the SpamExperts landing page returns a fatal error.
If I disable the promotions and other options settings everything works, but obviously no one can purchase the addons.
The error being returned for the promotions is
Whoops\Exception\ErrorException: Method WHMCS\MarketConnect\Promotion\Promotion::__toString() must not throw an exception, caught Error: Call to a member function isYearly() on null in /home/billpress/webapps/billpress/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php:0
Stack trace:
#0 /home/billpress/webapps/billpress/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Method WHMCS\\Ma...', '/home/billingen...', 0)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}
I am running the default Six theme and my server has the required modules installed.
The other error is on the SpamExperts landing page
Error: Call to a member function toFullString() on null in /home/billpress/webapps/billing-billpress/templates_c/7c5bae1b4f911ec51aa338dc013a0919793b176c_0.file.index.tpl.php:124
I have cleared the cache and try again with no luck.
I have a ticket open and will report back if I have any luck there.
Thanks
Nik