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

Error fix #105

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Error fix #105

merged 1 commit into from
Oct 10, 2023

Conversation

davidkral-com
Copy link

Simple fix for this error:

david@puffin:/data/www/dmarc-srg$ php utils/fetch_reports.php
dmarc-srg [error]: ErrorException: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /data/www/dmarc-srg/classes/Mail/MailMessage.php:111
Stack trace:
#0 /data/www/dmarc-srg/init.php(32): {closure}(8192, 'The behavior of...', '/data/www/virtu...', 111, Array)
#1 /data/www/dmarc-srg/init.php(32): require_once()
#2 [internal function]: {closure}('Liuch\\DmarcSrg\\...')
#3 /data/www/dmarc-srg/classes/Mail/MailBox.php(233): spl_autoload_call('Liuch\\DmarcSrg\\...')
#4 /data/www/dmarc-srg/classes/Sources/MailboxSource.php(81): Liuch\DmarcSrg\Mail\MailBox->message(1)
#5 /data/www/dmarc-srg/classes/Report/ReportFetcher.php(113): Liuch\DmarcSrg\Sources\MailboxSource->current()
#6 /data/www/dmarc-srg/utils/fetch_reports.php(160): Liuch\DmarcSrg\Report\ReportFetcher->fetch()
#7 {main}
Error: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence (-1)

Tested on PHP 7.4.33

@liuch
Copy link
Owner

liuch commented Oct 10, 2023

Thank you very much!

@liuch liuch merged commit 69063ab into liuch:master Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants