Unable to login again - Argument 1

Permalink
Hi all!
So, I started off with a search, but nothing matched my query.
On my website,http://www.donerightbydaniel.com, AFTER I login, I immediately get this error:

Argument 1 passed to Concrete\Core\Permission\IPService::getRangeType() must implement interface IPLib\Address\AddressInterface, null given, called in /home/u907318202/domains/donerightbydaniel.com/public_html/concrete/src/Permission/IPService.php on line 122

Any thoughts or pointers in the right direction?

 
mnakalay replied on at Permalink Reply
mnakalay
You might have an issue with the PHP version you're using.
Which PHP version are you using and which Concrete5 version?
mnakalay replied on at Permalink Reply
mnakalay
Just so you know what's going on: when you try to log in, Concrete5 checks if your IP address is blacklisted or not. That's when that error is thrown. Apparently when trying to get your IP address it gets null which is weird.
DLeach4512 replied on at Permalink Reply
ThankS!
I'm actively working on it now.
DLeach4512 replied on at Permalink Reply
So, Hostinger says it's a C5 issue, even though I showed it was caused by their implementation of cloudflare.
They're saying the only way to fix this is to rebuild the website from scratch; any ideas?
Gondwana replied on at Permalink Reply
Gondwana
I wonder whether attempting database-based session management might be worth a try.
DLeach4512 replied on at Permalink Reply
Not sure.
The latest news is that I fixed it by re-installing Concrete5 manually, but the issue has come back again and again.
Hostinger is still blaming the developer (me) even though i've shown them multiple times that the changes happened WITHOUT me.
I'll keep digging...
mnakalay replied on at Permalink Reply
mnakalay