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?
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?
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.
ThankS!
I'm actively working on it now.
I'm actively working on it now.
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?
They're saying the only way to fix this is to rebuild the website from scratch; any ideas?
I wonder whether attempting database-based session management might be worth a try.
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...
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...
Maybe this might help:
https://support.cloudflare.com/hc/en-us/articles/201897700-Step-4-Re...
https://support.cloudflare.com/hc/en-us/articles/201897700-Step-4-Re...
Which PHP version are you using and which Concrete5 version?