How to fix `ptable` partition whose size is found to be 0?

How to fix this ptable issue?

Warning: skip copying ptable image avb footer (ptable partition size: 0, ptable image size: 24576).  
Sending 'ptable' (24 KB)                           OKAY [  0.008s]                                   
Writing 'ptable'                                   OKAY [  0.004s]

I didn’t flash the ptable partition, so it was set to 0. but I need to reset the partition using ptable . Is this unfixable?