A subtle bug?

Without a MWE, I think it will be very difficult to debug your code. Can you please post the result of dump(p)?

2 Likes