Detail Record Count

I have upgraded to PHPMaker 2021.0.8 and whenever I “check” the checkbox “Detail Record Count” (Tables > MyTable > Table Options > Detail Record Count), and I generate the script(s), I get the following error message:Error
C:\Apche24\htdocs\MyProject\src\DbTablesBase.php(393): Obsolete property: MyDetailTable_Count, please use Container(‘MyDetailTable’)->Count.

https://discourse.hkvstore.com/t/undefined-property-and-obsolete-property/3794/1

Make sure you have already used the latest version of Preview extension that released with v2021.0.8. Do not use the older Preview extension as it will not compatible with v2021.0.8.

After that, re-generate ALL the script files, and try again.

Thank you guys. That solved that problem. I somehow missed the previous discussion.