mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.8k stars 361 forks source link

Getting Argument Type Error in MessageTrackingOptions.php on line 35 #313

Open afrasiyabhaider opened 2 months ago

afrasiyabhaider commented 2 months ago

Sendportal\Base\Services\Messages\MessageTrackingOptions::setIsOpenTracking(): Argument #1 ($isOpenTracking) must be of type bool, int given, called in /Users/admin/Herd/web-project/project/vendor/mettle/sendportal-core/src/Services/Messages/MessageTrackingOptions.php on line 35

The issue is in sendportal_campaigns table we have 2 columns is_open_tracking and is_click_tracking , it have value stored as 0, 1 but the expected value by function is true/false