Errors testing on both 8.3.2 and 8.4.0
Permalink Browser Info Environment
I am testing for a client who got errors trying your package. I get two different error messages from 2 testing installs. You can see the tracebacks on the URLs below.
8.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)
8.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 |
I can't get this fix to work and this add-on has downed the site entirely.
Can you please clarify a bit on the "use Core;" portion. Where exactly does that go and does it replace anything?
Can you please clarify a bit on the "use Core;" portion. Where exactly does that go and does it replace anything?
Hi, I'm sorry for this problem. Are you having the same error? Do you get any error message?
Thanks
Regards
Thanks
Regards
I just realized this wasn't the same error as I'm experiencing. I posted mine in the Support as well. It looks like others have had this in the past.
https://www.concrete5.org/marketplace/addons/page-password1/support/...
https://www.concrete5.org/marketplace/addons/page-password1/support/...
Hi, sorry it seems that the reply to the pm has not been sent. It was:
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
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
Sorry I was replying at the same time. Thanks for your fixes. It is strange as I have some working installations on 8.4 with the current package.
It seems due to the PHP version, anyway I'll update with your fixes.
Thanks again
Regards
Nicola
It seems due to the PHP version, anyway I'll update with your fixes.
Thanks again
Regards
Nicola
Hi 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
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