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

Blocked IP and Allow List in 1.5.1 not working in php < 8 (call to undefined function str_contains) #213

Closed
codeling opened this issue Feb 16, 2024 · 1 comment
Assignees
Labels

Comments

@codeling
Copy link
Owner

codeling commented Feb 16, 2024

Version 1.5.1 uses str_contains in the views "Blocked IP" and "Allow List".

This function is only available in PHP >= 8; but BFStop v1.5.x should still support Joomla 3, which has a minimum requirement of PHP 5.3.10, so str_contains needs to be poly-filled

@codeling codeling added the bug label Feb 16, 2024
@codeling codeling self-assigned this Feb 16, 2024
@codeling codeling changed the title Blocked IP and Allow List not working in 1.5.1 (call to undefined function str_contains) Blocked IP and Allow List in 1.5.1 not working in php < 8 (call to undefined function str_contains) Feb 18, 2024
@codeling
Copy link
Owner Author

Fixed with this commit, released in version 1.5.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant