BUG: SI Defaults returns error

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1278
    marcnyc
    Participant

    I’ve just upgraded to Master2020 with PHP 7.4 and when I navigate to the SI Defaults page (/index.php?module=payment_types&view=manage) I get this error:

    Fatal error: Uncaught TypeError: Return value of Inc\Claz\PaymentType::getDefaultPaymentType() must be of the type string, null returned in /home/marcurse/public_html/invoices/Inc/Claz/PaymentType.php:141 Stack trace: #0 /home/marcurse/public_html/invoices/modules/system_defaults/manage.php(43): Inc\Claz\PaymentType::getDefaultPaymentType() #1 /home/marcurse/public_html/invoices/index.php(440): include('/home/marcurse/...') #2 {main} thrown in /home/marcurse/public_html/invoices/Inc/Claz/PaymentType.php on line 141

    #1281
    fearless359
    Keymaster

    In the si_system_defaults table, what is the value of the record with name “payment_type”?

    Is there a record in the si_payment_types table with a “pt_id” value equal to the “value” of the record in the si_system_defaults table?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.