Skip to content

Conversation

@marios88
Copy link

@marios88 marios88 commented Feb 9, 2022

Getting the following error on PHP versions lower than 8.0

Uncaught TypeError: imap_sort() expects parameter 3 to be int, bool given

Since PHP 8.0.0 reverse is now bool instead of int
https://www.php.net/manual/en/function.imap-sort.php

Getting the following error on PHP versions lower than 8.0

```Uncaught TypeError: imap_sort() expects parameter 3 to be int, bool given```

Since PHP 8.0.0 reverse is now bool instead of int
https://www.php.net/manual/en/function.imap-sort.php
@alebedev80
Copy link
Contributor

Hi @marios88
I've created PR #659 about same issue two days ago but it looks like the main contributors have abandoned the project ;(

@mattyhansen
Copy link

@barbushin @rmontagud @Theaxiom @hexathos @JellyBellyDev @alebedev80

The following commit from 4.3.0 is causing this "imap_sort() expects parameter 3 to be int, bool given" error:

2cd5d0b

image

@JellyBellyDev
Copy link
Contributor

sorry but I am not one of the maintainers, a long time ago I contributed a PR but I have no power over this repo.
good luck

@rmontagud
Copy link
Contributor

As @JellyBellyDev I just contributed a PR and have no power over this repo, but this is an issue i will face eventually when I have to upgrade to PHP8.x

@marios88
Copy link
Author

Hi @marios88 I've created PR #659 about same issue two days ago but it looks like the main contributors have abandoned the project ;(

Really sorry, i didn't notice, am closing this since your PR #659 fixes the same problem

@marios88 marios88 closed this Feb 16, 2022
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.

5 participants