• Resolved expserv

    (@expserv)


    I am trying to edit a page with short codes.

    ERROR: Wrong arguments [missing WPDA_PARENT_KEY*?] keeps showing up instead of the dashboard edit page. I can’t edit the short code unless I temporary deactivate the entire WP Data Access plugin.

    This is the current short code I use: [wpdadiehard table_name=”purchase” project_id=”2″ page_id=”2″]

    If I remove any of the codes, the front end will give me errors, but editing page for this page on the dashboard will remain functioning.
    If I keep the short code this way, the front end will function, but editing page on the dashboard will give the white screen error.

    What is this WPDA_PARENT_KEY and how do I fix it?

Viewing 10 replies - 16 through 25 (of 25 total)
  • Sorry Peter but it’s in localhost.

    Need plugin SQL?

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    The plugin does not need SQL, it uses the wpdb class to connect to the database. What is the name of your parent key column? Maybe the parameter name is conflicting with another plugin or theme parameter?

    Best regards,
    Peter

    The name is “corso id”, no other tables have the same name.

    In this WordPress i’ve only this plugin and GeneratePress theme installed.

    I’m testing your plugin in a clean site.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Does the GeneratePress theme use the action argument? Can you check if your page works with another theme?

    Best regards,
    Peter

    I’ve tried to disable GeneratePress and use a default theme of WP.
    The problem persist: once crete a page it’s impossible to re-edit (ERROR: Wrong arguments [missing primary key value]), but the page in front-end work properly.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Can you export the project and the tables? If I can reproduce this error I can fix it.

    Best regards,
    Peter

    There the project and the tables: https://we.tl/t-43ezFP6ikt

    Tnks for the support.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Great! I have a look at it and let you know asap…

    Thanks,
    Peter

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Thank you so much! You make my day! ??

    This error has been haunting me for a long time. I finally found the cause of this error. I fixed the error and patched release 3.0.1. There is too much outstanding unfinished work in my current development project to go to release 3.0.2, so you need to delete the plugin and re-install. Sorry for that!

    Before you delete the plugin, make sure your repository is not deleted, or you would loose your project. To prevent the plugin from deleting your repository:
    – Go to the Settings menu
    – Sub menu WP Data Access
    – Tab Uninstall
    – Uncheck both checkboxes
    That’s all. After that you can delete and re-install the plugin without losing your project.

    Thanks again! ??

    Best regards,
    Peter

    Great!
    Plugin updated, everything works!
    Thanks for the support, you’ve made a very useful plugin!

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘[missing WPDA_PARENT_KEY*?] when editing a page.’ is closed to new replies.