Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add string as allowed type for attachment #5678

Merged
merged 1 commit into from
Feb 27, 2024
Merged

add string as allowed type for attachment #5678

merged 1 commit into from
Feb 27, 2024

Conversation

xmacan
Copy link
Member

@xmacan xmacan commented Feb 27, 2024

2024-02-26 22:14:31 - ERROR PHP ERROR: Uncaught TypeError: mailer():.
Argument #9 ($attachments) must be of type ?array, string given,.
called in /usr/local/share/cacti_develop/poller_automation.php on line 1180 and defined in.
/usr/local/share/cacti_develop/lib/functions.php:5197.
Stack trace:.
#0 /usr/local/share/cacti_develop/poller_automation.php(1180):.
mailer('develop_automat...', '[email protected]', '', '', '',.
'Discovery of Te...', '

Discovery o...',.
'Cacti Automatio...', '', Array).
#1 /usr/local/share/cacti_develop/poller_automation.php(396):.
reportNetworkStatus('1', Array) #2 {main} thrown in file: /usr/local/share/cacti_develop/lib/functions.php on line: 5197.

@TheWitness
Copy link
Member

Good stuff.

@TheWitness TheWitness merged commit 73c412f into Cacti:develop Feb 27, 2024
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants