Open landbryo opened 4 years ago
Hi @landbryo
use Null Coalescing Operator ?? maybe? https://stackoverflow.com/questions/59674903/trying-to-access-array-offset-on-value-of-type-bool-in-php-7-4
thanks J
[update: sorry I see you've added a fix.. will this be deployed to the wordpress plugin repo at some point?)
@codemonkeynorth that would be a question for @valendesigns since he was going to review and potentially merge the fix.
Thanks @landbryo, I implemented your change to my code and I'm not getting the notice anymore!
Sorry, I'm confused. What was the fix? I'm getting the same error.
I was getting a bunch of notices that I couldn't ignore. Looked into this notice a bit and it appears to be related to some changes in PHP 7.4. It should be a relatively easy fix that I'll go ahead and look into resolving.