Errors testing on both 8.3.2 and 8.4.0
Permalink Browser Info Environment8.3.2 - PHP 7.1 - Stucco
Call to a member function isActive() on null
https://58.steelesoft.net/contact...
8.4.0 - PHP 7.2 - Elemental
count(): Parameter must be an array or an object that implements Countable
https://57.steelesoft.net/contact...
I tried PMing you about this, but never heard back.
Please advise ASAP.
Thank you - John (you should have my email address already)
Type: | Discussion |
---|---|
Status: | In Progress |
Can you please clarify a bit on the "use Core;" portion. Where exactly does that go and does it replace anything?
Thanks
Regards
https://www.concrete5.org/marketplace/addons/page-password1/support/...
I had a similar ticket that was due to the package like Form Plus? I've just readhttps://www.concrete5.org/marketplace/addons/form-plus1/support/call... that has a similar problem.
I checked both urls but didn't see any error. Do I have to insert a password to read them?
Thanks
Regards
Nicola
It seems due to the PHP version, anyway I'll update with your fixes.
Thanks again
Regards
Nicola
Happens quite often, that's why I suggested email and gave you my address.
Both those URLs are now working after the above changes are made (I just tested both in a new Private Window).
They do require a password and are being redirected to /passwordrequest
packages/page_password/src/Model/PagePasswordModel.php need to be modified:
At the top, add:
use Core;
In onPageChange():
changed to:
In both getFromSessioin() and storeInSession():
Replaced with:
FYI - John