Unofficial SMF API Documentation

./subscriptions.php

generateSubscriptionError

function generateSubscriptionError(string $text, bool $debug = false): void

Log an error then exit

Type Parameter Description
string $text The error to log
bool $debug If true, won’t send an email if $modSettings[‘paid_email’] isn’t set

Suggest an edit to this page on GitHub