Custom pdb-single template – edit link
-
Hello,
I recently encountered an issue with the custom single pdb-tabs template. I have attempted to resolve the problem myself but haven’t received any response yet. Hence, I am reaching out to you for assistance.
The problem arises when I try to use the custom pdb-tabs template, specifically with the single edit link feature. Upon implementation, I receive the following error message:
"Warning: Undefined property: stdClass::$fields in G:\wamp64\www...\wp-content\plugins\participants-database\classes\PDb_Template.php on line 622."To provide some context, I have included the relevant code snippet responsible for generating the single edit link below:
<?php// create a template object so we can get the edit link URL$record = new PDb_Template($this);// now output the link using the get_edit_link method?><button class="btn btn-default"> <a id="edit" href="<?php echo $record->get_edit_link() ?>">Edit Record</a></button>I have ensured that all my WordPress core, plugin, and theme files are up-to-date. However, it seems that the issue is specific to the custom pdb-tabs template or the Participants Database plugin itself.
I would greatly appreciate any guidance or assistance you can provide in resolving this problem. Thank you for your attention to this matter.
Best regards,
Elvis
The topic ‘Custom pdb-single template – edit link’ is closed to new replies.