So this is “working” in Dev but somehow “broken” in Prod, and I can’t yet figure out why. Both running Concrete CMS v8.5.19.
On each sample page, I have three Blocks.
- Block A: Express Details Block, (which is not filtered by another block, it’s displaying an Express Entry from an attribute on the page, and successfully shows the details for that Express Entry).
- Block B: Express Details Block, this block filters for a particular Express Entity “from another page”.
- Block C: Express List Block, which shows the Express Entries for the Express Entity that Block B is using.
All three of these Blocks are on the same page.
When I click on an Entry in Block C to filter Block B, I get the following error output:
“Call to a member function getID() on null”
Referring to: “updates/concrete-cms-8.5.19/concrete/blocks/express_entry_detail/controller.php” - line 118
Which is called from: “updates/concrete-cms-8.5.19/concrete/src/Controller/AbstractController.php” - line 315
====
Now the thing is when I REMOVE Block A from that page… Block B correctly shows the details of the selected Express Entry that Block C selected when I clicked on it.
===
Again, this WORKS (as in does not throw an error) in Dev, but not in Prod.
Anyone have any ideas why this is happening? And yes, this happens when all of the Blocks in Prod are stock (zero templating/themeing).